News for hackers. Stuff that matters.
Re:Should you learn C to “learn how the computer works”? by TheOtherHobbes on Tuesday October 02, 2018 @03:01PM (#18124638)
There is no hardware distinction between stack memory and heap memory.

In fact C teaches a model of a semi-standard virtual architecture - loosely based on the DEC PDP7 and/or PDP11 - which is long gone from real hardware.

Real hardware today has multiple abstraction layers under the assembly code, and all but the top layer is inaccessible.

So there's no single definitive model of "How computers work."

They work at whatever level of abstraction you need them to work. You should definitely be familiar with a good selection of levels - and unless you're doing chip design, they're all equally real.

Re:Should you learn C to “learn how the computer works”? by arcticbull on Tuesday October 02, 2018 @04:51PM (#18125594)
There definitely is, unless there's a hardware heap pointer and hardware allocation and deallocation instructions, as there are for the stack :)
Re:Should you learn C to “learn how the computer works”? by Sir_Cmpwn on Tuesday October 02, 2018 @06:24PM (#18126207)
This isn't true. Modern instruction sets have clearly been influenced by and designed to optimize the C ABI.