Originally posted by byteabit
View Post
As for Python+Rust, it's more that I want to write Rust, but I'm not willing to give up memory-safe QWidget bindings, Django's ecosystem, and something like Django ORM or SQLAlchemy+Alembico with a polished drudgery-reducing approach to writing schema migrations, so I wind up mixing the two languages when I have a component that I want to reuse outside those specific three cases.
(In the Qt case, I basically wind up creating a QWidget version of how C++ and QML fit together for Qt Quick or Kirigami... not that either of those can successfully get past the UI design uncanny valley but, if they could, MyPy in strict mode would still give me more type-checking than QML does.)
Once Rust solves those three cases, Python will probably be gone. (I'd say I'd keep using it for shell scripts, but now that I've got a new Ryzen system and the rustc devs are working on parallelizing the last bit of the build process that I can't do anything about, choosing Python over rust-script for build time on quick single-file hacks is mainly force of habit.)
Comment