I regret to inform the community that since my own house was destroyed by russians who invaded my country, Wasm3 has entered a minimal maintenance phase.
Just published wasm2mpy ๐
It allows you to run #WebAssembly as native @micropython modules.
With this, you can now compile code from any #WASM-targeting language and run it on MicroPython at near-native speeds!
https://t.co/SDBxkYE0s9
If a WebAssembly file has the suffix .wasm3, then a-Shell will use the wasm3 engine, otherwise (no suffix or .wasm suffix) it will use Apple's engine. The biggest change is with the xz command: xz.wasm3 is 10x faster.
Yeah, it might not look like much, but it opens a Pandora's box of possibilities by integrating the standard #MicroPython tools (written in #Python3) into ViperIDE.
๐ It works by running those tools directly in the browser, within a MicroPython VM powered by #WebAssembly.
Should a #WASM interpreter be included in @micropython or its standard library? Here's what the Wasm3 engine author has to say...
https://t.co/acn4s8F13X
@nholzschuch Wasm3 may be 10x slower than JIT-enabled engines, but its tiny cold start time overturns many short synthetic tests. In IO-bound tasks, Wasm3 outperforms almost everything. The larger the Wasm file, the bigger the advantage!
@nholzschuch Wasm3 may be 10x slower than JIT-enabled engines, but its tiny cold start time overturns many short synthetic tests. In IO-bound tasks, Wasm3 outperforms almost everything. The larger the Wasm file, the bigger the advantage!
I really wanted to know which libraries are bloating my WebAssembly binaries, so I wrote a visualizer.
Throw in a .wasm file with DWARF debug symbols, and wasmphobia will generate a flame graph for you, breaking down the module by source file.
https://t.co/CJSuqRvykI
Ok, so here #Wasm3 compiles itself (using #Clang compiled to #WebAssembly), and executes another #WASI app in self-hosting mode. ๐
Execution time includes the build time, obviously!
Yet another article doubts Wasm3 performance. But then... ๐
Other than that, it's a really great effort. In-place interpreters have HUGE benefits. Recommend.๐
๐ https://t.co/TdcXB8oseL
@MysteriousNoth1 I'm not sure you know what you're talking about. On day 2 of the russian invasion, they sent dozens of mobile crematories toward my city. Yes, they were prepared to burn "nonconformist" ukrainian civilians.
I regret to inform the community that since my own house was destroyed by russians who invaded my country, Wasm3 has entered a minimal maintenance phase.