News for hackers. Stuff that matters.
Re:Should you learn C to “learn how the computer works”? by jpindar on Tuesday October 02, 2018 @02:45PM (#18124480)
For your definition of 'computer', perhaps. Many microcontrollers have the stack defined by the hardware.
Re:Should you learn C to “learn how the computer works”? by geofft on Tuesday October 02, 2018 @02:54PM (#18124571)
And some, such as RISC-V, have no predefined stack pointer at all. (Push and pop are implemented by doing them manually; call is implemented by the jump instruction optionally taking an argument for a register to use as the stack.) C, at best, teaches you the C abstract machine, which supports both of these concrete implementations equally well.
Re:Should you learn C to “learn how the computer works”? by simonh on Tuesday October 02, 2018 @02:50PM (#18124528)
Leaning how microcontrollers work is not the same as 'learning how the computer works' in general, which is the subject at hand.