News for hackers. Stuff that matters.
Re:LLVM backend for DCPU-16 by tkahn6 on Sunday April 08, 2012 @03:41AM (#3813356)
This is so cool! Just finished my implementation and it runs the fib example flawlessly†!

https://github.com/tkahn6/dcpu16-haskell/

† Because mine is a pure state machine and Haskell is lazy, I had to introduce a HLT instruction instead of using `:crash SET PC, crash`. Nothing ever gets printed using the latter convention.

Re:LLVM backend for DCPU-16 by carterschonwald on Sunday April 08, 2012 @10:57AM (#3813970)
You can use a monad to thread the computation for strictness while retaining purity.