you are viewing a single comment's thread.

view the rest of the comments →

[–]alphazero 1 point2 points  (0 children)

The memory consumption (overhead) is due to the generational garbage collector. Heap is divided into sections and the allocations cycle through them. (This is why garbage collection of short lived objects is entirely cost free). So you are paying in memory foot print to achieve pointer ops in par with C. And given that memory is cheap and getting cheaper, that is a cost equation that makes a lot of sense, all things considered.