News Archive

Speed Boost Moving to C

In totally-obvious-news, moving my interpreter from JavaScript to C has produced a siginicant speed boost: 40x faster.

There is no garbage collection yet, so I’m just allocating and leaking like crazy, but it’s nice to know the magnitude of the speed jump.

I was originally thinking I might target Kong to the web, via my JavaScript interpreter… but now I’m thinking I’ll just skip that entirely, and do all the low-level stuff in C. Maybe some day in the future I’ll revisit the JavaScript stuff to see if I can make it better, but it would likely involve compiling to asm.js, which I don’t care to do right now.

« Newer Page 12 of 12