On C++, I am using random_device to seed my 64-bit mersenne twister as follows:
random_device rand_dev; mt19937_64 mersenne_generator(rand_dev());