4 ms·
Swift's ownership features are still new and going through evolutions; so its current state isn't the necessarily the vision or where it will be in a year. E.g.
by adamwk 2y ago
Swift's ownership features are still new and going through evolutions; so its current state isn't the necessarily the vision or where it will be in a year. E.g., here's a proposal that allows one to create a lifetime dependency between a function's return value and its parameters: https://github.com/apple/swift-evolution/blob/d9aa90bae13e353423b1105901d47d3907d7c021/proposals/NNNN-lifetime-dependency.md https://github.com/apple/swift-evolution/blob/d9aa90bae13e35...
- comex 2y agoWell, that's very interesting indeed. Maybe there's hope for Swift in the future.