Swift is getting really mature. Stable ABI. Using clang to access and represent C++ types natively. No ffi bindings required. Foundation library available on all desktop platforms.
I hope Rust will start putting some serious effort behind C++ migration/interop. Or I can see a future where the C++ industry migrates largely to Swift, with perhaps Rust libraries for specific tasks like codecs. Which is fine but I worry about some companies, that would be willing to use Rust, never catching up to that.
C++ code will never migrate directly into Safe Rust. Swift found a middle ground for it that Rust will need too. Unsafe Rust needs to become a language people can do their daily work in that is better than C++. That’s what migration can look like.
I was skeptical of Carbon’s plan to build out an unsafe language that is good to work in, since I felt like the safe language is where people should be. I still worry about coming in and building the safe language later, but I can see the value of making an ergonomic unsafe language (nullability for pointers for example), because they are taking seriously the idea of migrating whole C++ codebases to this language. AND understanding that people will be working in that (unsafe) language full time.
@blinkygal I use #rustlang with a lot of FFI and this is what makes me most unproductive. I've over 35 years of development and fluent in numerous languages (including C, which was my first real language, and C++), but Rust's safety when working with handles or raw memory is painful. Leaves a bad taste in my mouth that makes me less likely to use Rust in other projects where the language choice doesn't matter.
Uploaded a preview of "pw-videomix" with a new render backend.
Amazing new possibilities!
Complex chains of mixers and mandala filter lead to marvelous animations. Even loopbacks between two mixers don't break anything. (Maybe keep an eye on GPU temps.)
Still more like a prototype, but the framework seems pretty solid.
Menu allows for a little bit more customization now.
Our customer, BrewTools, showcased the Fermentation Control System at #braubeviale2023 tradeshow this week. The UI on the control panel is #MadeWithSlint running on an #esp32 MCU. 🚀 #rustlang