4 ms·
> Now I'm wondering if that guy's raw hyper optimised x86 assembly can get transpiled to WASM Not really. WASM is significantly simpler and more abstract than
by Taywee 5y ago
> Now I'm wondering if that guy's raw hyper optimised x86 assembly can get transpiled to WASM
Not really. WASM is significantly simpler and more abstract than x86 assembly, and has a JIT compile step that probably wouldn't get anywhere near as optimized. You could probably hand-write a WASM version that would JIT compile to something roughly similar and still get very good performance, but it would probably be more comparable to the other compiled versions at best, rather than the x86 ASM one.
- bigiain 5y ago> probably wouldn't get anywhere near as optimized. Yeah, I'm not doing this for performance, I'm doing out for nerd fight points and the lulz :-) The Most Hightly Optimised Fizz Buzz EVER! In your browser! As a service. Join the waiting list now! Email: [_____________] [submit]