Re:The Next Chapter in Swift Build Technologies
by myko on Saturday February 01, 2025 @06:20PM
(#42903601)
fwiw Swift still doesn't support mixed-language targets so the interop is somewhat less useful to me than I'd like: https://forums.swift.org/t/se-0403-package-manager-mixed-lan...
Re:The Next Chapter in Swift Build Technologies
by marxisttemp on Saturday February 01, 2025 @10:09PM
(#42905359)
The creator of Rust also briefly worked on Swift
Like Rust, Swift is a compiled language that offers memory safety by default.
The creator of Clang and LLVM also created Swift, and interoperability with C was an explicit design goal.
So Swift offers the memory safety and data race safety of Rust, in a compiled language, without giving up tight integration with C.
(To be fair, better C integration is something the Rust community is looking to add.)