News for hackers. Stuff that matters.
Re:Chris Lattner left Swift core team by nsonha on Monday February 21, 2022 @06:27PM (#30422120)
Swift seems to me very similar to Rust in the sense that it's a language that try to do everything, to be both low and high level. Rust is leaning on the lower end and Swift is higher end. The different is Rust has a selling point, which is the borrow checker. Swift's selling point is... made by Apple? In that sense Swift might be closer to C#.
Re:Chris Lattner left Swift core team by skohan on Monday February 21, 2022 @06:37PM (#30422212)
To be fair, I think Swift does have a reasonable selling point in that it's an easy-to-write language with ADT's, named function parameters and excellent nullability handling. It really can be quite nice to work with.

But I think it's over-sold as a systems/low-level language. Relying on ARC for all reference types creates a significant floor in terms of performance which makes it unsuitable for a lot of systems programming applications - unless you resort to unsafe Swift, in which case you're not really writing Swift.

Re:Chris Lattner left Swift core team by GeekyBear on Monday February 21, 2022 @07:03PM (#30422429)
Like Rust, Swift offers the performance of a compiled language with memory safety.