Hacker News new | ask | show | jobs
by pjmlp 1442 days ago
Only if you ignore all the compiler extensions, that everyone that doesn't care about reading the standard, thinks are part of C.

Get ready for K&R compatibility removal on C23, with improved generics, type inference and lambdas probably landing on C26.

C is actually a good example, given that it shares authors with Go, which at the time also decided to ignore what systems programming languages have been doing since 1958 outside Bell Labs.

1 comments

C was barely feasible on a PDP-11, so I can forgive it a lot, but we can afford powerful languages now that CPUs are thousands of times faster while brains are pretty much the same.
What do you mean barely feasible? C is basically a slightly abstracted/elevated syntax with a particular calling convention on assembly language, and PDP-11 is just a computer (that i remember too).
I’m under the impression that the speed and memory of their PDP-11 were barely enough to run their C compiler, considering that Emacs was considered a heavyweight app and S-Algol had to target a virtual machine instead of native code.
virtual machines are native code. if you google pdp-11 C you'll get all sorts of interesting articles from 40ish years ago.