编程与软件工程blog.pimaker.at
用像素着色器模拟 Linux:VRChat 中的 RISC-V 模拟器
Linux in a Pixel Shader – A RISC-V Emulator for VRChat
2021 — 2025,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这篇文章介绍作者如何在像素着色器中实现一个 RISC-V 模拟器,从而把 Linux 跑进 VRChat。项目展示了在极端限制下运行真实系统的工程巧思,也引发了关于性能开销和在游戏/虚拟世界里嵌入完整电脑的讨论。
为什么经久不衰:它把“在着色器里跑 Linux”这种看似不可能的想法做成了可观看、可交流的演示,技术创意和 Demo 效果都很强,因此多年后仍值得一看。
HN 评论精选
推荐观看开发者的 VRChat 演示,并称赞全身动捕虚拟形象带来的沉浸感和自然交流体验。
一定要看开发者在 VRChat 里的演示:[链接]。我几年没玩 VRChat 了,这让我特别想回去。看到人们全身动捕的虚拟形象非常沉浸;即使对方在地球另一端,交流体验也自然得离谱。我很喜欢看演讲者的“肢体语言”,它精确呈现了现实演讲的感觉。而且你还能遇到像这篇博客作者这样知识渊博、有趣又好玩的人。
2bitencryption查看英文原文
Definitely watch the presentation by the developer in VR Chat: https://www.youtube.com/watch?v=G2u7NOpzcBQ I haven't played VR Chat in a few years, and holy cow this makes me want to jump back in. Seeing fully captured motion avatars of people is SO immersive. It's absolutely insane how the experience of interacting with people can feel so natural even when they're on the other side of the planet. I just love watching "body language" of the presenter, it's such a precise rendering of what a "real life" presentation like this would be. Plus, you meet people like the writer of this blog post, who are so knowledgeable and interesting and fun to talk to.
分享自己发现该项目的经过,并给出演示视频和来源链接。
大约一周前发现这个时我差点从椅子上摔下来,并立刻发了帖:[链接]。我在下面评论说:更多细节和演示自然地在 VRChat 中原生呈现:[链接];视频来自:[链接];来源:[链接]。刚发现 Twitter 不让复制转推引用链接,我是在 whitequark 的时间线上发现它的。
exikyut查看英文原文
I nearly fell off my chair discovering this just under a week ago, and immediately posted it: https://news.ycombinator.com/item?id=28255821 I commented underneath: > More details and demonstration, naturally presented natively in VRChat: https://www.youtube.com/watch?v=G2u7NOpzcBQ&t=5052s > Video found via https://twitter.com/_g1fan_/status/1427073177142939648 > Source: https://twitter.com/fuopy/status/1427051048032620544 > Just discovered Twitter doesn't let you copy a link to a retweet reference D:, but I discovered this on https://twitter.com/whitequark/ 's timeline.
一位游戏开发者认为这让“在游戏内放一台运行 Linux 的电脑”变得可行,但性能代价可能很高。
这太离谱了。我在做一个带机械打字机的文本编辑器/游戏,之前多次设想过在游戏里给某人一台运行 Linux 的米色电脑,但一直显得不合理、不可能。有了这个,它突然就合理了(如果性能开销很贵的话)。谢谢你,哈哈。
MrLeap查看英文原文
This is outrageous. I'm making a text editor / game where you have a mechanical typewriter, and I've mused quite a few times about giving someone a beige computer running linux inside the game at some point, but it's all seemed unreasonable / impossible.. With this it's suddenly reasonable (if expensive performance wise) Thank you for this, haha.
联想到 Dolphin 模拟器的 ubershaders 技术。
这让我想起 Dolphin 模拟器关于 ubershaders 的文章:[链接]。
chii查看英文原文
reminds me of this https://dolphin-emu.org/blog/2017/07/30/ubershaders/
历次讨论
同类还值得读
开源应用架构
The Architecture of Open Source Applications
《开源软件架构》(AOSA)是一本在线免费书,邀请知名开源项目的作者亲自剖析其内部设计,涵盖 SQLAlchemy、LLVM、Audacity、Apache、Bash 等系统。
编程与软件工程上首页 9 次 · 2011–2024aosabook.org编辑精选编程语言简史:简短、不完整且多半错误
A Brief, Incomplete, and Mostly Wrong History of Programming Languages
一篇以戏谑、故意不准确的方式回顾编程语言史的博客文章,用夸张轶事和讽刺定义串起 Lisp、C、C++、Java、JavaScript、PHP 等语言。
编程与软件工程上首页 8 次 · 2009–2021james-iry.blogspot.comSQLite 是如何测试的
How SQLite is tested
SQLite 官方文档页,系统介绍 SQLite 的测试体系:多种测试方法(TCL 测试、模糊测试、回归测试、静态分析等)和海量测试用例,展示了这个小型开源项目如何靠极致测试获得…
编程与软件工程上首页 8 次 · 2009–2025sqlite.org编辑精选高级编程语言(2009)
Advanced programming languages (2009)
Matt Might 的经典文章,按用途推荐“高级编程语言”:如果追求就业就选主流语言,如果追求表达力、学术研究或创业,则推荐 Haskell、OCaml、Scala 等函数式语…
编程与软件工程上首页 8 次 · 2009–2022matt.might.net我的 Forth 与栈机器经历
Yosefk - My history with Forth & stack machines
作者以亲身经历回顾了使用 Forth 语言和栈式机器的历程:既赞叹其简洁优雅、代码量小、可自举的优点,也坦率指出栈操作在实际编程中的痛苦,以及 Forth 社区文化中的问题。
编程与软件工程上首页 8 次 · 2010–2024yosefk.com编辑精选