top | item 39118460

(no title)

merolish | 2 years ago

> Pipelining, cache misses, branch prediction, multiple cores, even virtual memory are all completely invisible to C programs.

Are there languages where these are visible? Any time I've seen them discussed it's been in terms of writing C/C++/Java that understand how they work, e.g., the disruptor pattern padding variables to a 64-byte cache line.

> C teaches you an abstraction of computers based on the PDP-11.

Hmm, I'd wonder how a C designed today would look based on modern architectures.

discuss

order

richrichie|2 years ago

Isn’t the modern version called Go?