Re:C0, an Imperative Programming Language for Novice Compute...
by nategri on Wednesday October 18, 2017 @06:44PM
(#15503936)
Had precisely the same experience except it was for an Apple II project instead of NES emulation. Turned me into one of those a-holes who think everyone should start with assembly if they want to learn C.
Re:C0, an Imperative Programming Language for Novice Compute...
by khedoros1 on Wednesday October 18, 2017 @08:26PM
(#15504489)
I think there at least needs to be more instruction about how the language is implemented. I feel like I learned the use of the stack in function calls and the difference between stack and heap variables disturbingly late.
Years later, I started doing things like writing an NES emulator and reading disassemblies of DOS games. Function calls, their relation to the stack, and pointers in general became much clearer after having contact with that much assembly.
> I surely have not figured out how to explain pointers to those who do not "get" them.
Makes me think about the difference between the data being represented and the method of representation. Sure, an exe's a binary, but it's also a data file if I choose to interpret it that way.