IT之家

目标 1000 年后仍能运行现今软件:ESI 开源项目登场,单指令虚拟机仅 30 行伪代码 (opens in new tab)

IT之家 6 月 19 日消息,科技媒体 Linuxiac 昨日(6 月 18 日)发布博文,报道称开源项目 Eternal Software Initiative(ESI)为应对软件长期保存的挑战,设计 Eternal Computer 极简虚拟机,让软件在 1000 年后依然能运行。ESI 项目核心理念是希望在未来 1000 年乃至更长时间里,未来的人能用一段简短描述重建一台计算机,并直接运行今天的软件。该项目仅依靠 Subleq 一条命令运行,虚拟机的参考实现只用 30 行伪代码(pseudocode),不过根据 GitHub 的 README 文件显示,C 语言版本大约只有 50 行代码。伪代码是指介于自然语言(人类语言)和真实编程语言之间的一种描述工具,专门用来表达算法或程序逻辑,让开发者能专注于逻辑和流程,而不用纠结特定语言的严格语法(如标点符号、变量类型等)。Eternal 使用改进版 Subleq+,配合 LLVM 后端、Linux 内核移植、C/C++ 运行时支持、uClibc-ng 库以及 BusyBox 工具集,构建了一个自包含的 Linux“胶囊”。用户可...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help