Skip to content
Swift
-
Swift
Swift Structs, Classes, Enums and Protocols
Swift 6.4.2 intermediate lecture: struct vs class with real output, mutating, enums, the protocol extension dispatch trap, some vs any, and a benchmark.
-
Swift
Swift ARC, Retain Cycles and -O Performance, Measured
A retain cycle proven with missing deinit and macOS leaks, the unowned crash, copy-on-write seen through isKnownUniquelyReferenced, and -O vs -Onone timings.
-
Swift
Swift Functions, Closures and Collections, Timed
Swift argument labels, inout, closures that capture variables, copy-on-write shown and measured, map/filter/reduce vs a loop with -O, real swiftc errors.
-
Swift
Swift Error Handling and Generics: throws, Result
Swift 6.4.2 intermediate lecture: do/try/catch, a real try! crash, typed throws, Result, generic constraint errors, and generic vs any measured at -O.
-
Swift
Swift Concurrency: async/await, Actors, Swift 6 Errors
async let and task groups measured, a data race Swift 5 mode compiles and Swift 6 rejects, the actor reentrancy trap in real output, and when to use what.
-
Swift
Swift Basics: let, Types, Strings and Optionals, Run
Swift from zero with real swiftc output: let vs var, no implicit conversion, overflow traps, why word[0] fails, optionals and the force-unwrap crash, timed.
↑