News for hackers. Stuff that matters.
Re:Wasm2Mpy: Compiling WASM to MicroPython so it can run on ... by vshymanskyy on Wednesday September 25, 2024 @02:00AM (#41644129)
Thanks for the feedback. I'll improve the README based on your inputs. I was focused on the actual research. Overall, this allows writing code in statically compiled languages and running it (fast) on embedded systems with MicroPython. MicroPython itself is comparatively slow, and this provides tools to deliver more demanding software (AI, signal processing, etc).
Re:Wasm2Mpy: Compiling WASM to MicroPython so it can run on ... by 0points on Wednesday September 25, 2024 @04:24AM (#41645075)
There exists tooling already to compile for wasm from static languages (rust, C++, and so on) and there exists tooling to run this WASM on a raspberry pi (wasmer, etc).

That makes me feel the end goal here is not what's described ("make wasm so it can run on a raspberry"), but rather "make wasm run in micropython".

Am I missing something?

Re:Wasm2Mpy: Compiling WASM to MicroPython so it can run on ... by vshymanskyy on Wednesday September 25, 2024 @06:26AM (#41645764)
Yes, we're talking about Raspberry Pi Pico (RP2040) here. Not the Linux-based SBCs (Single Board Computers)
Re:Wasm2Mpy: Compiling WASM to MicroPython so it can run on ... by ssnover on Wednesday September 25, 2024 @09:21AM (#41647219)
Curious if you've seen the WAMR runtime which is explicitly designed to be lightweight enough for freestanding embedded systems on some higher end microcontrollers (Cortex-M4F).
Re:Wasm2Mpy: Compiling WASM to MicroPython so it can run on ... by vshymanskyy on Wednesday September 25, 2024 @10:08AM (#41647725)
Yes, Wasm3 also targets Cortex-M4 and even Cortex-M0 :)
Re:Wasm2Mpy: Compiling WASM to MicroPython so it can run on ... by 0points on Thursday September 26, 2024 @02:09AM (#41655048)
I see, thanks for the clarification!