TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Transputer emulator in JavaScript (fast enough to be useful)

55 点作者 nanochess大约 1 个月前

4 条评论

fidotron大约 1 个月前
It&#x27;s incredible to see such an amount of Transputer work without seemingly mentioning either Occam or the microcode instructions regarding channels. The fact the Transputer was intended to be a high performance design is so often lost, and the development of the floating point units proved one of the more successful bits of the entire enterprise.<p>The impressive part here isn&#x27;t so much the emulator, but all the rest. A pascal compiler for the Transputer as a teenager in early 90s Mexico? That&#x27;s brilliantly unlikely.
评论 #43585966 未加载
DeathArrow大约 1 个月前
&gt;In the old times, Javascript was an interpreted language, but since many years ago it is implemented as a JIT (Just-In-Time) compiler, so it can approach speeds closer to the C language.<p>Looking at many benchmarks I&#x27;ve seen C#, Java, Go approaching the speed of C, but I never have seen Javascript doing that.<p>Perhaps is because it&#x27;s dynamically typed and is harder for compiler and VM to optimize the generated code?
评论 #43586689 未加载
vessenes大约 1 个月前
Ooh I love this.<p>Seeing a DOS transpiled into JavaScript is pretty cool. Seeing a DOS written in the 90s by a Spanish speaking native who wanted everything written in Spanish is AWESOME. Being told write AYUDA is great. I love the sense of ownership it implies the author had as a teen. Just super fun.
Retr0id大约 1 个月前
TIL about &quot;&gt;&gt;&gt;&quot; giving an unsigned result, very useful!