Y
Hacker News
new
|
ask
|
show
|
jobs
by
dbaupp
2639 days ago
That sounds more similar to Swift's approach, where the compiler does aggressive optimisation to elide reference counts were possible. Do you agree?
1 comments
Aardappel
2639 days ago
Yes, it is more similar to Swift than Rust. I guess people are more familiar with Rust.. since Swift hasn't actually implemented it yet?
https://github.com/apple/swift/blob/master/docs/OwnershipMan...
link
dbaupp
2639 days ago
The compiler
has
implemented a lot of the infrastructure for reasoning about ownership, and has had optimisation for eliding reference counting operations for a long time (but the ownership stuff makes them simpler).
link
https://github.com/apple/swift/blob/master/docs/OwnershipMan...