News for hackers. Stuff that matters.
Re:WebAssembly is more than the web by sehugg on Saturday July 14, 2018 @12:17AM (#17528797)
One thing I am concerned about is startup performance. On my (slow) Chromebook, some of my multi-megabyte WASM files take 10 seconds to compile. Seems we need either faster CPU cores, faster code generation, or some kind of staged JIT compile -- though I guess the latter could be accomplished today with sufficiently clever tooling.
Re:WebAssembly is more than the web by reitzensteinm on Saturday July 14, 2018 @03:47AM (#17529316)
Chrome Canary contains Liftoff, which is about 8x faster on my machine for initial compilation of wasm. I'm assuming it'll be in Chrome 69.
Re:WebAssembly is more than the web by natorion on Saturday July 14, 2018 @05:34AM (#17529582)
Indeed. X64 and ia32 support vor Liftoff will be in 69.
Re:WebAssembly is more than the web by steveklabnik on Saturday July 14, 2018 @08:00AM (#17529977)
Wasm is set up to be able to do streaming compilation, I wonder if that helps at all? It's in a least Chrome and Firefox...
Re:WebAssembly is more than the web by solidr53 on Sunday July 15, 2018 @03:02AM (#17534127)
Think about if the same codebase were in JS, it would definitely be slower. But like others are saying, streaming is one of the main features of wasm.