|
|
|
|
|
by MaxBarraclough
2925 days ago
|
|
> Languages do not need a 1 to 1 relationship between the storage medium of a value and the interface it exposes to a programmer. Sure, but that doesn't excuse the well-documented 'sufficiently-smart-compiler fallacy'. The performance improvements that can be had by the escape-analysis/object-inlining family of JIT compiler optimisations, are considerable, but even today, production JVMs don't do a very good job. It's not an easy problem to solve well. > I suspect the reason Java did it was to not surprise C++ programmers. Solely dictated by marketing, not by technical reasons. I sincerely doubt it. You're wrong to dismiss the performance question. |
|