3 ms·
> Pipelining, cache misses, branch prediction, multiple cores, even virtual memory are all completely invisible to C programs. Are there languages where these
by merolish 3y 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.
- deleted 3y ago[deleted]
- richrichie 3y agoIsn’t the modern version called Go?