3 ms·
Can't you use Qt with Swift's bidirectional C++ interoperability?
by amichail 2y ago
Can't you use Qt with Swift's bidirectional C++ interoperability?
- neonsunset 2y agoYou can. But you can also use Avalonia*, Uno Platform* , Gir.Core or whatever currently maintained Qt binding library is for .NET. The FP and syntax advantages listed in the article exist in equal measure in C#, and so do zero-cost Rust-style abstractions. Swift is a language with a lot of potential, but it has a lot of work ahead of it, the work that was done for .NET's performance, cross-platform support, tooling ecosystem and OSS-focused development process. *both of which have SwiftUI style extensions for declarative UI definition and MVU patterns. Avalonia even has the F# version of that.
- talldayo 2y agoI mean, you can use all of POSIX with C FFI if you wanted. But that goes for most languages, and it's a far cry from the convenience of a well-made standard library. People want Apple to stop pretending like it's impossible to support other OSes, it's really that simple. If they want their language to have serious popularity, they have to act like a real Open Source maintainer and not a business. Swift's adoption outside of Apple developers forced into using it is more or less sabotaged by Apple's decisions. Whether they realize it or not, this behavior is undermining Swift's credibility and likely pushing people onto C++/Rust where they can use LLVM without limitations.