News for hackers. Stuff that matters.
Re:Swift Regrets by azakai on Wednesday September 22, 2021 @02:54PM (#28620247)
That is true, but the great majority of memory safety issues are not concurrent ones. In practice Swift and Go are huge improvements over C, C++, and Objective-C in terms of memory safety.

I'd also say they are in a reasonable space in the state of the art of safety in general. While they do not make concurrency safe and Rust does, in Rust you need to use unsafe to write things like doubly-linked lists and graphs (or resort to things like indexes-in-an-array), which you can do safely in Swift and Go. So there are interesting tradeoffs all around - our industry has not found a perfect solution here yet.

Re:Swift Regrets by saagarjha on Wednesday September 22, 2021 @03:47PM (#28620900)
In my experience post-ARC almost all memory safety issues are thread-safety related.
Re:Swift Regrets by pjmlp on Thursday September 23, 2021 @02:20AM (#28625720)
Except ARC only works for Cocoa like classes, everything else is traditional C like memory management.
Re:Swift Regrets by saagarjha on Friday September 24, 2021 @12:37AM (#28638682)
Yes, but most of the time you’re not using that in your Objective-C code.
Re:Swift Regrets by novok on Wednesday September 22, 2021 @03:23PM (#28620617)
If I had Go's build speed in Swift, I wouldn't have minded a clean break language like Swift.