Re:Brainfuck Optimization Strategies
by icefox on Wednesday January 07, 2015 @12:07PM
(#8851679)
A silly Brainfuck interpreter I wrote one evening converts BF to JavaScript and runs eval() on it. The result was that I got for free all of the compiler optimizations and JIT capabilities in the Javascript engines for a trivial amount of effort. I found the resulting execution faster than the various hand rolled C interpreters I found online. The best part was that I spent probably less than an hour implementing and testing my "interpreter".
[ Parent
| on HN ]
There are no comments on this comment yet.