3 ms·
Swift can also 2-way operate with C++. Its coverage of the C++ language is incomplete but I suspect it might outpace Carbon.
by gilgoomesh 1y ago
Swift can also 2-way operate with C++. Its coverage of the C++ language is incomplete but I suspect it might outpace Carbon.
- LeFantome 1y agoI need to learn more about that. I know that the Ladybird folks want to use it inside their C++ project.
- troad 1y agoI really struggle to imagine an organisation that shepherds a large and venerable C++ codebase migrating over to Swift. For all of C++'s faults, it is an extremely stable and vendor-independent language. The kind of organisation that's running on some C++ monolith from 1995 is not going to voluntarily let Apple become a massive business risk in return for marginally nicer DX. (Yes, Swift is OSS now, but Apple pays the bills and sets the direction, and no one is seriously going to maintain a fork.)
- philwelch 1y agoMaybe not, but an Objective-C++ codebase might be a good candidate.
- pjmlp 1y agoI saw organizations in the past do that with Java and .NET, moving away from C++. It is perfectly feasable for companies that are full commited into Apple ecosystem.
- saagarjha 1y agoI think Apple is largely doing this for themselves.