61 ms·
Web assembly is the new LLVM.
by ilaksh 10y ago
Web assembly is the new LLVM.
- irascible 10y agoCame here for this comment.
- ridiculous_fish 10y agoDoesn'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.
- wcrichton 10y agoI don't think that's at odds with the post. Rust could compile to WebAssembly through LLVM.