#SwiftLang evolution is focusing on improvements around memory ownership for the language. Many see this as a thing just for experts or that it will make the language more complicated. But the reality is that there is a specific feature that will bring benefits to EVERY SWIFT CODEBASE. You will benefit from it very quickly!
Let's recap what Value Semantics are, how Swift shines with them but also what are their limitations. And then let's see how a very specific aspect of memory ownership can improve the situation!
This video is a look at future, yet un-approved, functionality of Swift so take the syntax with a grain of salt. The ideas tho should be valid.
Exciting times are coming to Swift, Swift 6 is gonna be amazing!
00:00 - Intro
01:35 - Value Semantics
07:00 - inout and mutating
10:29 - Current limitations
16:21 - Memory Ownership improvements with a bit of Rust
19:04 - Future improvements
23:31 - Value lifetimes
25:16 - Exciting!
#swift
https://links.alejandromp.com
SUPPORT THIS CHANNEL https://www.buymeacoffee.com/alejandromp