4 ms·
As another huge rust fan myself, Swift 6 has really won me over. I find myself reaching for Swift as the default for a lot of things rather than Rust, especial
by dagmx 2y ago
As another huge rust fan myself, Swift 6 has really won me over.
I find myself reaching for Swift as the default for a lot of things rather than Rust, especially with the advent of C++ Interoperability and the new Swift embedded stack and ownership model.
The only thing I really need is a UI story on other platforms, but it’s an area Rust is lacking great solutions too. I suspect the C++ interop might eventually make Swift have great Qt bindings to compete with PySide as an accessible way to make multi platform UIs.
- jclay 2y agoThere’s a very minimal example using C++ interop in Qt’s test suite: https://github.com/qt/qtdeclarative/tree/dev/tests/manual/helloswift https://github.com/qt/qtdeclarative/tree/dev/tests/manual/he... I’ve kicked around with the C++ interop a few times. Projects like Qt that use raw pointers extensively seem hard to expose. Ended up having to wrap Qt classes to model as a value type which was straight forward but it’s not nearly as seamless as the Objective-C++ experience
- dagmx 2y agoAh, very cool. Thanks for the link and write up