[Mono-dev] Hacking mono to make it more deterministic
    Avery Pennarun 
    apenwarr at gmail.com
       
    Mon Aug 24 14:10:27 EDT 2009
    
    
  
On Mon, Aug 24, 2009 at 1:13 PM, Lucas Meijer<lucas at lucasmeijer.com> wrote:
> - if you can think of a better/different way to make our users code
> deterministic
Perhaps use a PRNG (always with the same starting seed) for the
hashcode of an object, and store the hash as a member in Object
itself.
Clearly this wouldn't be a good idea for "real" mono, but it would
make things deterministic with regard to the creation order of
objects, at least.
Of course, if you use any threading, true determinism is virtually impossible.
Have fun,
Avery
    
    
More information about the Mono-devel-list
mailing list