HN2new | past | comments | ask | show | jobs | submitlogin

Does Swift enforce memory safety in concurrent code also, i.e. preventing thread-unsafe data access in safe code? That's a really hard problem that Rust tries to address mostly successfully, and many other languages don't.


Yes. That is a new feature as of version 6 of Swift.

https://www.swift.org/migration/documentation/swift-6-concur...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: