4 ms·
They also provide mechanisms to pass by reference. Default pass-by-copy with specially enabled pass-by-reference is indeed the opposite from most other language
by praptak 15y ago
They also provide mechanisms to pass by reference. Default pass-by-copy with specially enabled pass-by-reference is indeed the opposite from most other languages do. I wonder how this interacts with things like memory paging and CPU cache.
- _delirium 15y agoDefault pass-by-copy with specially enabled pass-by-reference isn't that uncommon; it's how C++ works, for example.