logoalt Hacker News

ceberttoday at 2:01 PM3 repliesview on HN

It’s a shame that the source code isn’t commented and documented more. At the very least, I would see it being helpful to add some documentation for every CPU op code being emulated.


Replies

112233today at 2:32 PM

Forbidding LLM to write comments and docstrings (preferrably enforced by build and commit hook) is one of the best "hacks" for using that thing. LLM cannot help itself but emit poisonous comments.

show 2 replies
StilesCrisistoday at 2:14 PM

Probably better to look at a human-authored emulator if you want comments containing accurate information anyway.

bugfixtoday at 3:03 PM

If you let it, Claude Code will write a comment for almost every single line of code.

show 2 replies