Hacker News new | ask | show | jobs
by merolish 880 days 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.

1 comments

Isn’t the modern version called Go?