4 ms·
Doesn't web assembly put most responsibility for optimizations on the thing emitting it? That's a big difference from LLVM.
by ridiculous_fish 10y ago
Doesn't web assembly put most responsibility for optimizations on the thing emitting it? That's a big difference from LLVM.
- flamedoge 10y agowebassembly is just a binary IL spec
- ridiculous_fish 10y agoI don't know much about it. Is it like Java bytecode, where the runtime is expected to do substantial optimization? Or is it more like traditional assembly where the optimizations are expected to have already been done?
- btrask 10y agoIf you're still curious, I dug this up: https://news.ycombinator.com/item?id=9734842 https://news.ycombinator.com/item?id=9734842 It sounds like WebAssembly is in a weird position, where it can be (relatively) directly translated to machine code, or more heavily optimized to support dynamic languages.
- flamedoge 10y agoIt is just binary IL. Doesn't matter what it is expected to do. You can do anything to it.