
We implemented the VM by writing a smallish compiler to C for it in
Haskell. It ran *damn* fast, but we couldn't get rid of some bug that
did not let us run the 4rth task at all, although the others worked
fine :(
2009/6/30 Ahn, Ki Yung
John Meacham 쓴 글:
I implemented the VM in C, it was pretty obviously geared towards such an implementation and it took all of an hour. Then I interfaced with it via the FFI. Why use just one language when you can use two? :)
You could also have used Data.Binary. That's what I did.
I wasn't able to make any time on sunday though so didn't end up submitting a final entry which is too bad. this was an interesting one.
John
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Eugene Kirpichov Web IR developer, market.yandex.ru