Skip to content

Comment on Cloning a 6502 Apple-1 in just 930 logic gatesparent

Comments

In fact you could poke around and get the line numbers in a different order and the program would still run properly.

That's why subroutines were put at the beginning of "efficient" code.

This is cool. I feel like this has implications in metaprogramming, code generation, state machines, interposition, and stuff I haven't thought of.

This changes my understanding of the semantics of basic immensely.

Sorry, it is not cool at all.

A system that runs subroutines faster according to how far they are from the start of the program is just badly designed. Robustness against poking in different line numbers is not worth trading off performance.

He should be ashamed.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.