3 ms·
More abstractions! Higher level languages!
by hacker_9 11y ago
More abstractions! Higher level languages!
- rawnlq 11y agoDon'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.