TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

178 pointsby 0xedbabout 4 years ago

8 comments

aphextronabout 4 years ago
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 未加载
nindalfabout 4 years ago
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 未加载
kindofajsdevabout 4 years ago
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 未加载
westurnerabout 4 years ago
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 未加载
conradevabout 4 years ago
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 未加载
rubatugaabout 4 years ago
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 未加载
diimdeepabout 4 years ago
Looks like wasm3 is created by embedded&#x2F;hardware guy, that is really interesting.
kumarskiabout 4 years ago
anybody wasmer.io