by thrawea · 15y ago · 0 comments
Though I am still in school, I feel everyone should understand how Memory works.
My assumption is that everyone should at least know about:
1. Pointers and their physical meaning
2. Difference between Process specific virtual memory and physical memory
3. Difference between Static, Stack and Heap Memory.
4. Also it is important to understand what happens when a disk access is required, and difference between Random reads and Sequential reads.
5. Bonus if you can understand, how swapfs is utilized and L2,L3 cache work.
If you enforce such kind of interviews in C, you will miss lots of great FP programmers. Maybe you don't care anyway.
I would guess that people might know 1 when they think about it some, but really don't know anything about the rest.
Much more relevant would be to ask questions about what to do if you're spending too much time in GC and how to tune it rather than how you'd perform your own garbage collection.