Remix.run Logo
ranger_danger 3 days 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 3 days ago | parent [-]

Can you share some swift resources so I can look into the features of swift compared to zig and C?

tizio13 3 days ago | parent | next [-]

Definitely check out swift.org/ . A few pages that are good jumping points are:

https://docs.swift.org/swift-book/documentation/the-swift-pr...

https://swift.org/documentation/cxx-interop/

https://swift.org/blog/swift-everywhere-windows-interop/

majorchord 3 days ago | parent | prev | next [-]

https://www.douggregor.net/posts/swift-for-cxx-practitioners...

Yiin 3 days ago | parent | prev [-]

that sounds like a query for llm