TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Wasm2Mpy: Compiling WASM to MicroPython so it can run on Raspberrys

86 点作者 syrusakbary8 个月前

5 条评论

bragr8 个月前
I feel like this project is a classic example of the README missing a "Why?" section. Not to justify the project, it just makes it hard to evaluate without understanding why they choose implementing a transpiler rather than an embedded WASM VM. Or why not transpile to native assembly? I'm sure they have good reasons but they aren't listed here.
评论 #41641077 未加载
评论 #41644129 未加载
评论 #41640470 未加载
oulipo8 个月前
What would be the recommendation to run on ESP32?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;wasm3&#x2F;wasm3">https:&#x2F;&#x2F;github.com&#x2F;wasm3&#x2F;wasm3</a>? <a href="https:&#x2F;&#x2F;github.com&#x2F;espressif&#x2F;esp-wasmachine">https:&#x2F;&#x2F;github.com&#x2F;espressif&#x2F;esp-wasmachine</a> ? <a href="https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasm-micro-runtime&#x2F;tree&#x2F;main">https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasm-micro-runtime&#x2F;tree&#x2F;...</a> ? <a href="https:&#x2F;&#x2F;github.com&#x2F;TOPLLab&#x2F;WARDuino">https:&#x2F;&#x2F;github.com&#x2F;TOPLLab&#x2F;WARDuino</a> ?
评论 #41644161 未加载
szundi8 个月前
Can we have python compiled to wasm compiled to python compiled to wasm compiled to python - just for obfuscation reasons?
评论 #41646065 未加载
评论 #41644106 未加载
评论 #41640905 未加载
vshymanskyy8 个月前
Author here, ready to answer any questions.
评论 #41651572 未加载
tony-allan8 个月前
A great way to allow code created in another language to be compiled to a MicroPython module and then run in a MicroPython environment.<p>These .mpy files are dynamically loaded into MicroPython using a regular python import.