Ryan Lamansky
Ryan Lamansky
@rossberg-chromium Can you expand on the "indirect" part of your explanation? I'm interested in knowing how it's a performance improvement from the read+compare+branch we have now. If there's speed here,...
@wllang I get that but how do you convert an arbitrary i32 value supplied to call_indirect to a destination address without a lookup table?
Although I wrote about this in a general sense, I'm particularly interested in iOS, which has a large user base and a severely locked down web browser. Cooperation from Apple...
That page describes how to create a WebAssembly file from C++ source. This process uses Emscripten, but this isn't a requirement of WebAssembly: the binary format can be produced by...
FYI, there's a SIMD design repo here: https://github.com/WebAssembly/simd . Generally, WebAssembly's instructions map one-to-one with CPU hardware features. I'm not aware of any CPU that supports variable-length SIMD...
Interesting, I didn't know about that. Are you writing a compiler for that 42-year old CPU as a research project?
For a truly simple WASM file, the HTML and JavaScript can be reduced to maybe 5 lines each, and online tools like http://mbebenita.github.io/WasmExplorer/ make it relatively easy to generate a...
Yeah, that size is a lot better. I'm not sure if I want to merge this, though: it's adding maintenance surface area to a project I only barely have enough...
The most straightforward solution is to add 12 more opcodes (by my count) for non-trapping versions of those instructions. It puts WASM's total opcode count to 184 out of the...
@jfbastien Ah, indeed, I had forgotten about that one. I added my thoughts there. I'm curious how the WASM core team plans to address this very worthwhile request. Until today...