Swift's Safety Checks: Why a Crash Can Be Safe
Swift sometimes preserves memory safety by stopping the program. Following a Character initializer into the standard library explains when to use assert, precondition, and fatalError.
Posts connected by the languages tag.
4 posts
Swift sometimes preserves memory safety by stopping the program. Following a Character initializer into the standard library explains when to use assert, precondition, and fatalError.
A Swift admirer's deep dive into why the actor model feels like it stops short of full isolation, why Rust reaches data-race freedom without any actors at all, and why adding strict, safe concurrency to a mature language is a monumental engineering pursuit worth praising.
Swift might be my favorite language, striking a rare balance between low-level and high-level features, yet I've never been able to use it professionally. This is why, and what it takes for a language to break out of its home ecosystem.
A 2014 prediction about Apple's newly released Swift language, why it could become the foundation of connected app frameworks, and how apps might eventually run everywhere.