HN 精选

I made a NES emulator in 15 minutes

Bisqwit
3 人推荐 · 跨 5 个月 · 2013–2022
复古计算与 Demoscene系统编程语言(C/C++、Rust、Go)软件工程实践、开源与职业发展
I made a NES emulator in 15 minutes

中文导读

知名极客 Bisqwit 带来的 C++ 纯硬核代码秀:在约 15 分钟的加速延时与字幕解说中,利用编译期生成的 6502 指令查找表,干净利落地手写出一个高精度的 NES 模拟器核心。

为什么 HN 推它

被 HN 程序员奉为模拟器架构设计的优雅典范,代码逻辑精巧利落,兼具极高的观赏性与教学参考价值。

「来看看 TAS 大神 Bisqwit 用 C++ 写的 NES 模拟器,构思非常清爽精妙。」HN 网友原话:Here's a very clean and clever NES emulator in C++ by Bisqwit of TAS fame
英文原摘要(HackerTube / Claude 整理)

Bisqwit writes a NES emulator in C++ in about 15 minutes of tool-assisted, sped-up coding, narrated with captions. It shows an accurate emulator built with a compile-time generated 6502 instruction table. Part 2 covers compiling and running it.

HN programmers admire it as a clean, clever demonstration of emulator design and as the standout of a favorite programming YouTuber.

HN 上的提及

reference GhotiFish · 2013-10 · HN 原文
he brings in the instruction table at 1:30
reference grapeshot · 2013-12 · HN 原文
Here's a very apropos example of this technique as applied to the 6502.
rec petercooper · 2014-04 · HN 原文
always blows my mind when he does his coding videos
rec atesti · 2015-03 · HN 原文
Here's a very clean and clever NES emulator in C++ by Bisqwit of TAS fame
reference iofj · 2015-08 · HN 原文
I love having streams of coding open while working.

相关视频