[EPILEPSY WARNING] How fast should an unoptimized terminal run?
6 人推荐 · 跨 7 个月 · 2021–2026
![[EPILEPSY WARNING] How fast should an unoptimized terminal run?](https://i.ytimg.com/vi/hxM8QmyZXtg/hq2.jpg)
中文导读
资深游戏引擎开发者 Casey Muratori 亲自下场手搓参考渲染器 RefTerm,用实测证明终端渲染原本可以极快——处理 Unicode 与彩色文本的性能远超 Windows Terminal,彻底击碎了‘终端做快很困难’的各种托辞。
为什么 HN 推它
‘现代软件严重浪费硬件算力’论点的必引论据,也是后来掀起整个 Windows Terminal 渲染架构重构讨论的关键 PoC。
「Casey 顶着微软团队面对的同样工程约束,花了不到一周就做出了原型终端 RefTerm。」HN 网友原话:Casey spent <1 week making RefTerm, a skeleton proto-terminal with the same constraints Microsoft people had
英文原摘要(HackerTube / Claude 整理)
Casey Muratori shows how fast a terminal renderer can run, building a simple reference renderer that handles Unicode and colored text far quicker than Windows Terminal. He argues that common excuses for slow terminals do not hold up.
It is the canonical reference for the claim that modern software wastes hardware, and the proof-of-concept behind the Windows Terminal performance debate.
HN 上的提及
See the epic demo (and stay till the end for color output)
it renders as fast as promised
It's just the way things are usually programmed doesn't care about performance and how fast things really can be.
Same guy from this video did a series of videos rewriting the renderer in a weekend or so
Link to dev's presentation of their implementation that seems to run circles around microsoft's terminal