3 ms·
Really? I have found the UX stuff with egui to be super ergonomic. It's not "native", though. Trying to do macOS UX with it, I have found, generally sucks (curi
by leoh 1y ago
Really? I have found the UX stuff with egui to be super ergonomic. It's not "native", though. Trying to do macOS UX with it, I have found, generally sucks (curious if anyone knows of any good libraries). Then again C++ probably sucks for native macOS too. So I really don't think Rust is far off.
- pjmlp 1y agoYes really, because it is nothing like Qt, in IDE integration, tools for designers, or ecosystem from 3rd parties components. C++ sucks for macOS, because it was never a first party language, unless using it via Objective-C++. The only role of C++ in macOS is for drivers, LLVM and being the Metal Shader Language (C++14 with extensions).
- ladyanita22 1y agoAren't apps, core system components et al built in C++? That was my impression.
- pjmlp 1y agoObjective-C, the main difference to NeXTSTEP is that DriverKit changed from Objective-C into C++ with IO Kit, that uses Embedded C++ in a COM like approach. In an homage to NeXTSTEP, the userspace version of IO Kit is named DriverKit. There are some frameworks that might use C++ in their implementations, like Core Audio, however they are exposed to userspace as C APIs and Objective-C frameworks. Hence why Apple nowadays mostly cares about LLVM, clang is good enough for their limited uses of C++. https://developer.apple.com/xcode/cpp/ https://developer.apple.com/xcode/cpp/ https://cppreference.com/w/cpp/compiler_support.html https://cppreference.com/w/cpp/compiler_support.html