memory-control
memory-control | component-sandbox-demo | |
---|---|---|
5 | 1 | |
19 | 11 | |
- | - | |
0.0 | 5.2 | |
over 1 year ago | about 1 month ago | |
WebAssembly | Python | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
memory-control
-
Extism Makes WebAssembly Easy
Indeed, webassembly is moving extremely slowly. I started a project years ago expecting https://github.com/WebAssembly/memory-control/blob/main/prop... and https://github.com/WebAssembly/memory64 to be fixed at some point. Neither are yet, and the project still suffers from it to this day.
I think wasm is still great without these fixes, but I have lost confidence in the idea that wasm will reach its full potential any time soon.
-
The Tug-of-War over Server-Side WebAssembly
Additionally, googlers are championing memory control https://github.com/WebAssembly/memory-control/blob/main/prop..., which provides memory protection.
-
How do Rust WebAssembly apps free unused memory?
But researching it a bit I found this issue, so it clearly seems to be a problem for a bunch of people out there. And apparently both V8 and Spidermonkey have already addressed this quite recently, see this issue.
-
WebAssembly and C++
FWIW there is a proposal in the works to add page-based protection, which will allow unmapping the 0 page, restoring the trap-on-null-deref behavior that is important for many languages with safety checks.
https://github.com/WebAssembly/memory-control
component-sandbox-demo
What are some alternatives?
multi-memory - Multiple per-module memories for Wasm
memory64 - Memory with 64-bit indexes
asm-dom - A minimal WebAssembly virtual DOM to build C++ SPA (Single page applications)
js-string-builtins - JS String Builtins
sycamore - A library for creating reactive web apps in Rust and WebAssembly
modsurfer - Devtools to validate, audit and investigate WebAssembly binaries.
wajic - WebAssembly JavaScript Interface Creator
stringref
interface-types
proposals - Tracking WebAssembly proposals
gc - Branch of the spec repo scoped to discussion of GC integration in WebAssembly
quickjs-emscripten - Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions