December 18th, 2013, 6:28 am
QuoteOriginally posted by: outrunQuoteOriginally posted by: CuchulainnFind? I knew it for years I just didn't tell anyone!Here is my example. Q: is the byte stuff OK?QuoteWe could run it though the TestU01 framework and test its random quality?You mean the output?? It is C# code.The TestU01 framework needs to draw *a lot* (100's of billion) of random numbers to test it quality, and so it want a pointer to your engine functor that it repeatedly call. Would be interesting to do, we can then add the result to the wikipedia entry. I managed to get it working in C++, maybe we can get it to work in managed C++? E.g. it needs to haveextern "C"{#include "unif01.h"#include "bbattery.h"}I did test #2 on crypto rng; roughly on a reasonable machine using single threading it takes 30 minutes to compute 300 million rns. So, I reckon we need a multicore (have you acccess to say 16 cores?) solution for 100 billion.And a 16:1 producer-consumer solution is not a luxury here. Do you have C# compiler? (Express is free); on linux is called Mono.
Last edited by
Cuchulainn on December 17th, 2013, 11:00 pm, edited 1 time in total.