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.

Baby's first WASM compiler

135 pointsby luualmost 2 years ago

2 comments

brabelover 1 year ago
Despite the title, this blog post goes very deep into how a compiler generates WASM and what that looks like.<p>Lots of hacks as WASM is pretty unfinished as it is, specially regarding linking different modules and the calling convention. The author used the Zig compiler to figure out how to do those things (Zig just does what C does, it seems).<p>I&#x27;ve tried doing something similar, but gave up because of that.
评论 #37324405 未加载
Simon_O_Rourkeover 1 year ago
This article doesn&#x27;t really get at the core questions of &quot;What exactly is WASM&quot;, and &quot;Why should I care&quot;.
评论 #37319091 未加载
评论 #37322084 未加载
评论 #37320159 未加载