Running feruscore

Before you attempt to run feruscore, please make sure pmars is available on your PATH. Some operating systems bundle pmars in their package distribution, others, such as OS X, require gcc to compile the program. The pMARS project is venerable C code and getting it compiled can be a bit fiddly. On my Debian system, I had to tweak the makefile some, but on OS X I found a helpful brew cask to get pMARS installed.

Once you've got pMARS installed, you should be able to run cargo run --release at the head of the project and receive output like the following:

GENERATION(0): STATE: Tournament RUNTIME (sec): 4 GENS/s: 0 PARENTS: 2 PARENTS/s: 1 BATTLES: 660 R_BATTLES/s: 131 F_BATTLES/s: 25 FITNESS: 00...10: 625 11...20: 1 21...30: ...

Get Hands-On Concurrency with Rust now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.