Hacker News new | ask | show | jobs
by soc88 5183 days ago
> There's no concept of a user defined pass-by-value type.

Everything is pass-by-value, but I understand what I mean.

> Second paragraph ...

Yes, it all sounds legit. But in reality, it is often quite different and after the JIT compiler ran not a single object allocation or dereference is left. It's not like JVM engineers are stupid, you know. :-)