4 ms·
See https://github.com/alangpierce/sucrase/issues/216 https://github.com/alangpierce/sucrase/issues/216 for some investigation I did into webassembly. V8 seems
by alangpierce 8y ago
See https://github.com/alangpierce/sucrase/issues/216 https://github.com/alangpierce/sucrase/issues/216 for some investigation I did into webassembly. V8 seems to be pretty good at optimizing your JS code if you give it long enough and write relatively C-like JavaScript in the first place.
I certainly thought about writing this in Rust or C++, and still plan on exploring that. Still, it's nice to stay in the JS world, e.g. easy integration with webpack and all of the other tools.