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.

Show HN: Shanhu.io, a programming playground powered by e8vm

1 pointsby h8liuabout 9 years ago

1 comment

h8liuabout 9 years ago
shanhu.io is a programming playground powered by e8vm:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;e8vm&#x2F;e8vm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;e8vm&#x2F;e8vm</a><p>e8vm is an open-source self-contained simulated virtual machine that has its own simple mips-like instruction set, and its own system programming language (G language). G is a language that has a golang-like syntax but with a c-like runtime -- no runtime.<p>shanhu.io provides an online playground where you can develop G language programs and run it in a simulated e8vm virtual machine right in your browser. The website requires a github account to login to save the workspaces.<p>The entire project is written in Go language, with no circular dependencies among files and packages, with each file no more than 300 lines (maximum 80 chars each). As a result, the project can be visualized in a hierarchy of DAG&#x27;s:<p><a href="https:&#x2F;&#x2F;e8vm.io&#x2F;e8vm" rel="nofollow">https:&#x2F;&#x2F;e8vm.io&#x2F;e8vm</a><p>The G language compiler enforces the same dependency rules, so a small operating system in G (still in development) can also be visualized:<p><a href="https:&#x2F;&#x2F;shanhu.io&#x2F;~os8" rel="nofollow">https:&#x2F;&#x2F;shanhu.io&#x2F;~os8</a><p>It is a hobby project of mine. Questions and feedbacks are welcomed. :)