3 ms·
Hand-written asm.js? That's impressive! https://github.com/mrahtz/javascript-karplus-strong/blob/master/karplus-strong/guitarstring_asm.js https://github.com/m
by mmastrac 11y ago
Hand-written asm.js? That's impressive!
https://github.com/mrahtz/javascript-karplus-strong/blob/master/karplus-strong/guitarstring_asm.js https://github.com/mrahtz/javascript-karplus-strong/blob/mas...
- girvo 11y agoDespite asm.js's main aim as a compilation target, I've seen a number of developers write it by hand to squeeze extra deterministic perf out of JS. Emulator devs have been doing this recently, IIRC. It's really fascinating, I genuinely want to take a look at it myself.