design
design copied to clipboard
WebAssembly Design Documents
Lately, I tried to play RTSP/RTMP stream in browser. Sadly, there is no way to support it now. WASM like a high performance Javascript, I can't use it to replace...
This might sound rather strange, and possibly ill-suited to WebAssembly, but I could imagine certain embedders actually wanting to support it. Browsers probably wouldn’t. The basic idea is to provide...
I'm looking at the following table of integer operations: | Operation | Scalar-only | Vector lane-wise | Whole-vector | Vector + scalar | |-----------------------|---------------|------------------|------------------|-----------------------| | Count leading zeroes | `T.clz`...
The linear memory associated with a WebAssembly instance is a contiguous, byte addressable range of memory. In the MVP each module or instance can only have one memory associated with...
I have been thinking a lot on how to add testing to the Branch Hinting proposal, and in general to annotations and custom section based proposals (like the Annotations proposal...
As of today JS functions can be directly supplied as imports, but they cannot be directly added to table. `table.set` only accepts native WebAssembly functions. As of today, there is...
I saw this document on the memory.buffer Arraybuffer object: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory It says this: > The WebAssembly.Memory object is a resizable [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or [SharedArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) that holds the raw bytes of memory...
I experimented with wasm2js to see the difference in their design of using and growing the WebAssembly.memory. It turns out that they implement the reallocation and growing logic loosely making...
A number of discussions on stack instructions (like `dup`) have referenced `let` as a forthcoming alternative. But I think that, even having `let`, there are scenarios where stack instructions have...
I'd like to point out that I haven't been involved in the web assembly effort, and I'm not maintaining any large or widely used compilers (just my own toy-ish language,...