🚀 The leading WebAssembly Runtime supporting 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
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
> 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.
🚀 The fastest WebAssembly interpreter, and the most universal runtime
A standalone 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.
Cursed Mongol experience
1 project | reddit.com/r/eu4 | 9 Aug 2022
Any 'unsafe' shared object loading libraries?
2 projects | reddit.com/r/rust | 2 Aug 2022
1462 True Heir of Timur (World Record)
2 projects | reddit.com/r/eu4 | 30 Jul 2022
1 project | reddit.com/r/eu4 | 29 Jul 2022
why i cant change to orthodox as hre emperor after revoking
1 project | reddit.com/r/eu4 | 25 Jul 2022