this post was submitted on 21 Jan 2024
787 points (93.4% liked)

Programmer Humor

32483 readers
405 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] -3 points 10 months ago* (last edited 10 months ago) (1 children)

Primitive, provincial knuckledragging Americans/Brits/Right-wing country's citizens don't want to learn C or understand how their computer truly works. ๐Ÿ˜†

Yeah. That tracks

[โ€“] [email protected] 8 points 10 months ago* (last edited 10 months ago)

C is not how a computer truly works.

If you want to know how computers work, learn assembly and circuit design. You can learn C without ever thinking about registers, register allocation, the program counter, etc.

Although you can learn assembly without ever learning about e.g. branch prediction. There's tons of levels of abstraction in computers, and many of the lower level ones try to pretend you've still got a computer from the 80s even though CPUs are a lot more complex than they used to be.

As an aside, I've anecdotally heard of some schools teaching Rust instead of C as a systems language in courses. Rust has a different model than C, but will still teach you about static memory vs the stack vs the heap, pointers, etc.

Honestly, if I had to write some systems software, I'd be way more confident in any Rust code I wrote than C/C++ code. Nasal demons scare me.