News for hackers. Stuff that matters.
Re:Pointers Are More Abstract Than You Might Expect in C by tomp on Monday July 02, 2018 @08:26AM (#17441052)
> memory doesn't work like a simple flat address space

Can you expand on that? I thought that modern (non-segmented) memory does work like a simple flat address space, at least from the perspective of userspace programs. Isn't all the weirdness only a result of compiler optimisations?

Re:Pointers Are More Abstract Than You Might Expect in C by thechao on Monday July 02, 2018 @09:31AM (#17441446)
Just to take one example: multisocket x86 is NUMA. There’s HW to paper over that fact, but the power/perf cost is quite high.
Re:Pointers Are More Abstract Than You Might Expect in C by mastax on Monday July 02, 2018 @10:29AM (#17441915)
Also Epyc and (even more so) Threadripper have somewhat NUMA memory access in a single CPU.