simulator (Re: [Icfp04-discuss] three liberal arts)

Eijiro Sumii sumii at saul.cis.upenn.edu
Tue Jun 8 18:55:15 EDT 2004


Just for information (and fun:-)...

There are _many_ different ways to implement an ant simulator.  For
example, one could compile ant code into C and thereby remove
interpretive overheads.

One of our implementations (there are many!) does so and finishes the
100,000-round simulation in 1.07 seconds (excluding the one-time
compilation) with no output, between sample.ant vs sample.ant in
sample0.world with initial random seed 12345, on a note PC with Mobile
Pentium III 1133MHz and 1GB main memory.  This implementation is only
a few hundred lines of ML and auxiliary C.

That's it.  Thanks again for your participation!

--
Eijiro Sumii (http://www.cis.upenn.edu/~sumii/)
Department of Computer and Information Science, University of Pennsylvania


More information about the Icfp04-discuss mailing list