用8个命令写光线追踪器,这是炫技还是行为艺术?
原创
看到一篇文章标题时我愣了好几秒——用Brainfuck写光线追踪器。这只有八条指令的编程语言,连变量名都不存在,居然要算光线反射和折射?说实话,这项目的实用价值约等于零。但有人真把这事从零敲完了,我服气。Brainfuck从来不是用来解决工程问题的,它是程序员给编译器写的情书。能在这种极端约束下把图形管线跑通,靠的不是算法优雅,是纯粹的执念。2024年还有人较真这种活儿,本身就够说明点什么了。
原文:Writing a Ray Tracer in Brainfuck · 来源:Hacker News
版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
相关文章
- 0.05ms 往返:localhost 为什么不能直接当网站?
- Fornax's Guide to Fast Ethernet
- Possibly leaked NSA Cyberattack tool behind attacks (2017)
- Steve Wozniak on Writing Apple Integer Basic
- PayByPhone is stealing $50M/year from their users
- Grand Theft Auto 6: A Landmark Achievement That Redefines a Console Generation
- Research Acceleration: The Jagged Frontier
- Google Embraces Geothermal Technology to Vaporize Rock for Clean Power
- Microsoft's Agent Framework PyPI package compromised to steal credentials
- Nvidia's Seven Billionaires Have Lost a Third of Their Wealth
最新文章
- 0.05ms 往返:localhost 为什么不能直接当网站? 1天前
- Fornax's Guide to Fast Ethernet 1天前
- Possibly leaked NSA Cyberattack tool behind attacks (2017) 2天前
- Steve Wozniak on Writing Apple Integer Basic 2天前
- PayByPhone is stealing $50M/year from their users 2天前
- Grand Theft Auto 6: A Landmark Achievement That Redefines a Console Generation 2天前
- Research Acceleration: The Jagged Frontier 2天前
- Google Embraces Geothermal Technology to Vaporize Rock for Clean Power 2天前
- Microsoft's Agent Framework PyPI package compromised to steal credentials 2天前
- Nvidia's Seven Billionaires Have Lost a Third of Their Wealth 2天前
itfan123



