This PR adds the first bit of Rust (compiled to wasm) to Glimmer. All tests pass in Chrome and Firefox, investigating Edge and Safari.
https://github.com/glimmerjs/glimmer-vm/pull/752 …
It uses https://github.com/glimmerjs/broccoli-rust2wasm … -- which can be used in any Broccoli/EmberCLI project! #itshappening
-
-
1. wasm is safe, so there is no such thing an unsafe-rust-in-wasm 2. the first time anyone writes production FFI, it involves "unsafe" code. This is true of virtually all production FFI systems. 3. All tests pass, integration included. It's for real.
-
Additionally, this is particularly low-level code that tries to avoid using the allocator. But most uses are fine with an allocator, which adds ~4k gzipped to wasm code.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.