3 ms·
How is Rust a better choice for the „casual web developer“? Both Qt and Gtk have Python bindings, which would be far more in the realms of a web developer (dyn
by Longhanks 7y ago
How is Rust a better choice for the „casual web developer“?
Both Qt and Gtk have Python bindings, which would be far more in the realms of a web developer (dynamic typing, no compilation, garbage collection...).
- bluejekyll 7y agoMaybe you’re asking the wrong question. A different way to phrase this question will lead you to answers about why this is so exciting for a lot of people. Why is Rust a great option for building native applications? Rust is a great option for building applications that would traditionally be in C/C++. These languages are traditionally chosen to have lower overhead than other options. You could build a new Qt or GTK in Rust, and put similar Python bindings over it, just as you described to go after those developers, if that’s desirable. In addition to that, many casual web developers are recognizing the benefits of a compiler with a type checked language, it’s why Typescript is growing so quickly. So you want to choose Rust when you want a lighter weight application, that has lower memory overhead, generally faster runtimes, and a long term plan around maintenance (the type system and various safety guarantees). Or more succinctly, because you’re someone who enjoys writing programs in Rust.
- antihero 7y agoWeird, because as web developers we've been pushing towards static typing (TypeScript, ReasonML, etc). I'd much prefer to be learning Rust than having to brush up on my Python, to be honest.