<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: wabstractions</title><link>https://news.ycombinator.com/user?id=wabstractions</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 30 Apr 2026 10:43:17 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=wabstractions" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by wabstractions in "WASM is not quite a stack machine"]]></title><description><![CDATA[
<p>Calling Wasm a stack machine is misleading.<p>It’s closer to a structured IR that uses a stack encoding, not a machine where the stack is the primary state. The absence of real stack operations (dup, swap, etc.) is not accidental — it shows the stack isn’t meant to be observable.<p>If you build even a tiny real stack CPU (simulator + assembler + traces), the difference becomes obvious very quickly: the stack stops being syntax and starts being semantics.<p>So the real question isn’t “is Wasm a stack machine?” but “why does it avoid being one?”<p>My take: because it’s designed for validation and compilation, not execution as a first-class machine model.<p>And that’s fine — but then we should call it what it is.</p>
]]></description><pubDate>Tue, 28 Apr 2026 14:02:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=47934761</link><dc:creator>wabstractions</dc:creator><comments>https://news.ycombinator.com/item?id=47934761</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47934761</guid></item></channel></rss>