Re:The Lobster Programming Language
by dbaupp on Wednesday April 03, 2019 @08:49PM
(#19568463)
That sounds more similar to Swift's approach, where the compiler does aggressive optimisation to elide reference counts were possible. Do you agree?
[ Parent
| on HN ]
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...
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).