News for hackers. Stuff that matters.
Re:LLVM backend for DCPU-16 by dalore on Sunday April 08, 2012 @06:09AM (#3813520)
Certain memory areas correspond to the console. If you have a look at Notch's Hello World example you see him putting letters in memory areas.

Now if this is how it will communicate with the rest of the ship, I don't know.

Re:LLVM backend for DCPU-16 by richdougherty on Sunday April 08, 2012 @05:34PM (#3814987)
A few days ago he was thinking of a message queue... not sure how it would work though.

http://twitter.com/#!/notch/status/187448370107912192

Re:LLVM backend for DCPU-16 by viraptor on Sunday April 08, 2012 @06:04PM (#3815057)
Since he wants to simulate the cpus all the time and there's no sleep / wait which actually stops execution, tight wait loops shouldn't be an issue. Just wait for some mmaped [msg_no_ptr] to be >0.