3 ms·
2GB limit. Cost of indirect addressing. Inability to address RAM and disk using same method calls without overhead. I've implemented a modest database in both
by RyanHamilton 4y ago
2GB limit. Cost of indirect addressing. Inability to address RAM and disk using same method calls without overhead.
I've implemented a modest database in both C and Java with memory mapping. It's hard to explain the feeling of programming both but in general: with java I found myself trying to add intelligence at the cost of complexity to make things run faster. In C I could get speed by removing overheads and doing less work.
- kjeetgill 4y agoThanks! Insightful. I wonder if you could get what you needed via unsafe but I agree: that's fighting the system in Java.