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.

WebAsm: Forth with Lisp Syntax

41 pointsby marksmillibendover 4 years ago

2 comments

CyberRabbiover 4 years ago
It’s misleading to say that WASM has no registers in the virtual machine. Function locals behave very much like a static set of registers. The stack machine is mostly used to encode expression computations but ultimately data shuffles around through locals and not through the stack.<p>This is evident by the lack of “dup” and “swap” instructions which are critical to passing data around in a pure stack machine.
评论 #25294490 未加载
marksmillibendover 4 years ago
WebAsm: Forth with Lisp Syntax. Overview of WebAsm text format, with example. (note: The code is tested and works, however, live example not loading since bitbucket won&#x27;t send the correct content-type application&#x2F;wasm for .wasm files; instead sending text&#x2F;plain)
评论 #25292554 未加载