Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It incurs some cost, but whether it is higher is very debatable. This is very much workload dependent. A smart compiler can elide most reference updates.


No it can't, not in Swift's current implementation.

https://github.com/ixy-languages/ixy-languages


It would seem that the Swift compiler is far from smart[1].

[1]: <https://media.ccc.de/v/35c3-9670-safe_and_secure_drivers_in_...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: