DEV Community

Discussion on: Optimising a JavaScript library with WebAssembly, a failed attempt!

Collapse
 
antoniovdlc profile image
Antonio Villagra De La Cruz

Thanks for the comment!

I think you've raised a lot of very insightful points. I definitely agree that the library I chose probably wasn't the best, and I wasn't too aware of the interface overhead (so I guess I learnt something here!). At the end of the day, the only computation happening was incrementing a counter, so as you said, modern JavaScript engines already do a fairly good job at optimising that!