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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Wasm3 compiles itself (using LLVM/Clang compiled to WASM)

178 点作者 0xedb大约 4 年前

8 条评论

aphextron大约 4 年前
What is the state of the world with wasm at this point? It seems like it's been this huge tease for 10 years now, promising that we'll be able to build web apps in any language. But as far as I'm aware, garbage collection and DOM access is still nonexistent.
评论 #26929540 未加载
评论 #26929526 未加载
评论 #26935304 未加载
评论 #26930146 未加载
评论 #26929656 未加载
评论 #26930870 未加载
评论 #26932780 未加载
评论 #26931110 未加载
评论 #26930242 未加载
评论 #26931192 未加载
评论 #26929419 未加载
评论 #26929519 未加载
nindalf大约 4 年前
For those wondering, Wasm3 describes itself as &quot;the fastest WebAssembly interpreter&quot;. Other webassembly runtimes are JIT based, rather than being interpreters. The project&#x27;s readme (<a href="https:&#x2F;&#x2F;github.com&#x2F;wasm3&#x2F;wasm3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wasm3&#x2F;wasm3</a>) talks more about this decision.<p>For more on the difference, and an explanation of what JIT is, check out this section of the book Crafting Interpreters (<a href="https:&#x2F;&#x2F;craftinginterpreters.com&#x2F;a-map-of-the-territory.html#shortcuts-and-alternate-routes" rel="nofollow">https:&#x2F;&#x2F;craftinginterpreters.com&#x2F;a-map-of-the-territory.html...</a>)
评论 #26930103 未加载
评论 #26928370 未加载
kindofajsdev大约 4 年前
I&#x27;m a newer dev so pardon my ignorance. Is webassembly the new, more open JVM? Feels like that write once, run everywhere but this time with any(most) mainstream language.
评论 #26930478 未加载
评论 #26928846 未加载
评论 #26929193 未加载
评论 #26928840 未加载
评论 #26928857 未加载
westurner大约 4 年前
Self-hosting (compilers) <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Self-hosting_(compilers)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Self-hosting_(compilers)</a> :<p>&gt; <i>In computer programming, self-hosting is the use of a program as part of the toolchain or operating system that produces new versions of that same program—for example, a compiler that can compile its own source code</i>
评论 #26931571 未加载
conradev大约 4 年前
Has anyone built a compiler extension and libffi-based runtime that supports compiling otherwise normal native code to WASM (eschewing hard linking for runtime resolution)?<p>Would be fun to make it so that native apps for any platform can be run from an interpreter
评论 #26929216 未加载
rubatuga大约 4 年前
I feel the need to repost this link:<p><a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death-of-javascript" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death...</a>
评论 #26928816 未加载
diimdeep大约 4 年前
Looks like wasm3 is created by embedded&#x2F;hardware guy, that is really interesting.
kumarski大约 4 年前
anybody wasmer.io