🚀 The leading WebAssembly Runtime supporting WASIX, WASI and Emscripten
But I can assure you that Wasmer will implement this once browsers do (if they ever do, of course)
A list of webassemby runtimes
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
> types other than int
Floating point values are also supported.
> for example strings and what not without the hacks of passing string lengths and addresses?
That's not so much a "hack" per se, so much as it is fundamentally how string types are represented when broken down into their basic components. ARM, x64, etc. interact with strings in similar ways. Tools like wasm-bindgen generate JS wrappers around the raw WASM calls, which wrap the address+length APIs in string accepting ones. For non-web use cases, you might have to roll your own boilerplate or boilerplate generators, but that's straightforward.
> sharing of data. That is can I declare a struct of some sort in the main program, pass that to the webassembly script, operate on it, and return it? Last I looked at that the only thing I could come up with was passing it back and forth as a (pick your format here) json string.
Multiple WASM instances can share a single memory instance without copying data. A non-wasm host will typically copy/serialize data into/out-of WASM memory for simplicitly/convenience/durability, but there are APIs that let you directly manipulate WASM memory - and there's nothing stopping you from generating identical structures on both ends and directly using them without copying.
🚀 A fast WebAssembly interpreter and the most universal WASM runtime
A fast and secure runtime for WebAssembly
Repository for design and specification of the Component Model
No comment on the other points (I also prefer Wasmtime), but:
I believe the linking proposal is dead for now and replaced by the component model: https://github.com/WebAssembly/component-model
The Wasmtime implementation is in progress.
Spin 2.0 – open-source tool for building and running WASM apps
13 projects | news.ycombinator.com | 4 Nov 2023
Show HN: Pypipe – A Python command-line tool for pipeline processing
6 projects | news.ycombinator.com | 22 Oct 2023
Help achieving one culture
1 project | /r/eu4 | 12 Oct 2023
Wasmer – Run, Publish and Deploy any code, anywhere
1 project | /r/hypeurls | 19 Sep 2023
Support Wasix in Zig Lang
1 project | news.ycombinator.com | 16 Sep 2023