Comment on Cloning a 6502 Apple-1 in just 930 logic gatesparentComments−fortran776yIn 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.−sitkack6yThis 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.−ncmncm6ySorry, 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.
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.