New Random Number Generator

Tim Rowledge tim at sumeru.stanford.edu
Mon Aug 12 17:02:31 UTC 2002


Stephan Rudlof <sr at evolgo.de> is claimed by the authorities to have written:

> Tim Rowledge wrote:
> <snipped>
> 
> > One of the little joys of using a vm plugin for replicating C code like
> > this (with all those bit twiddles) is that you simply steal the C and
> > use it :-) Whihc neatly sidesteps the problems you've been having....
> 
> It depends: if you generate the plugin by using Slang, you have to do
> (think) more.
> 
> I think you mean using the C stuff as it is and calling it by some generated
> Slang function.
Exactly. You can steal the original code and trivially make a connection
to it. About the only tricky part is deleting the original 'main()'
function.

tim

-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange Opcodes: FART: Fill Accumulator from Result if True




More information about the Squeak-dev mailing list