Re:Why Discord is switching from Go to Rust
by pkolaczk on Wednesday February 05, 2020 @01:31AM
(#22244501)
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.
[ Parent
| on HN ]
Re:Why Discord is switching from Go to Rust
by pjmlp on Wednesday February 05, 2020 @09:45AM
(#22247033)
No it can't, not in Swift's current implementation.
Re:Why Discord is switching from Go to Rust
by abjKT26nO8 on Wednesday February 05, 2020 @03:45AM
(#22245064)
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_...