Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zozbot234
1y ago
0 comments
Save
Share
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.
0 comments
1 comments · 1 top-level
top
newest
oldest
GeekyBear
1y ago
Yes. That is a new feature as of version 6 of Swift.
https://www.swift.org/migration/documentation/swift-6-concur...
j
/
k
navigate · click thread line to collapse