Re:Cache-Efficient Functional Algorithms (2014) [pdf]
by rawnlq on Saturday April 23, 2016 @10:14AM
(#11555587)
Don't you need a lower level language (than even assembly and maybe even some sort of hardware support)? Virtual memory abstracts away whether the address is in RAM or disk. Going a step further, you need to undo even one more layer of abstraction so you know whether you're accessing L1, L2, or main memory.
But to be honest I think just malloc is a decent abstraction. You control memory layout and the rest is having algorithms with good access patterns.
But to be honest I think just malloc is a decent abstraction. You control memory layout and the rest is having algorithms with good access patterns.