3 ms·
IMO, as a C++ developer, Swift makes the most sense to me if I were looking for a safer alternative. I think people prefer what's familiar to them, and Swift d
by ranger_danger 1y ago
IMO, as a C++ developer, Swift makes the most sense to me if I were looking for a safer alternative.
I think people prefer what's familiar to them, and Swift definitely looks closer to existing C++ to me, and I believe has multiple people from the C++ WG working on it now as well, supposedly after getting fed up with the lack of language progress on C++.
The most recent versions gained a lot in the way of cross-platform availability, but the lack of a native UI framework and its association with Apple seem to put off a lot of people from even trying it.
I wish it was a lot more popular outside of the Apple ecosystem.
- tonetegeatinst 1y agoCan you share some swift resources so I can look into the features of swift compared to zig and C?
- Yiin 1y agothat sounds like a query for llm
- tizio13 1y agoDefinitely check out swift.org/ . A few pages that are good jumping points are: https://docs.swift.org/swift-book/documentation/the-swift-programming-language/guidedtour/ https://docs.swift.org/swift-book/documentation/the-swift-pr... https://swift.org/documentation/cxx-interop/ https://swift.org/documentation/cxx-interop/ https://swift.org/blog/swift-everywhere-windows-interop/ https://swift.org/blog/swift-everywhere-windows-interop/
- majorchord 1y agohttps://www.douggregor.net/posts/swift-for-cxx-practitioners-value-types/ https://www.douggregor.net/posts/swift-for-cxx-practitioners...