What’s New in Swift
What’s New in Swift
WWDC 2018
Community-Hosted Continuous Integration (extended)
- Debian 9.1 on Raspberry Pi
- Fedora 27
- Ubunto on PowerPC
- Swift for TensorFlow
Speedup for Debug Builds
Compilation pipeline optimized to reduce redundant work across files
Compilation Mode

Runtime Optimizations

Small String
16Bytes (64bit platforms)
Optimize for Size

Collection of Enum Cases 👍

Conditional Conformance 👍

Synthesized Equatable and Hashable 👍

Hashable Enhancements

Hash Values Vary From Run to Run
Set ‘SWIFT_DETERMINISTIC_HASHING=1’ in Edit Scheme/Run/Environment Variables
Random Number Generation 👍

Default RandomNumberGenerator Implementation

Checking Platform Conditions 👍

Enforcing Exclusive Access to Memory

