Swift was designed to be safe by default, preventing entire categories of programming mistakes at compile time. Sources of undefined behavior in C-based languages, such as using variables before they’re initialized or a use-after-free, are defined away in Swift. An increasingly important source of undefined behavior is concurrent code that inadvertently accesses memory from one thread at the same
![Swift 5.10 Released](https://cdn-ak-scissors.b.st-hatena.com/image/square/f7ab2b89a1709883f486287c740bc3594c3d918e/height=288;version=1;width=512/https%3A%2F%2Fswift.org%2Fapple-touch-icon-180x180.png)