3 ms·
> but I hope people aren't learning Rust as a status symbol. Of course they do. Lots of learning today seems to be based around "what looks nice to put on my r
by capableweb 5y ago
> but I hope people aren't learning Rust as a status symbol.
Of course they do. Lots of learning today seems to be based around "what looks nice to put on my resume?" which is effectively a status symbol, rather than choosing tooling that is actually the best for the job.
Same applies for a ton of stuff as well, not just Rust.
- dboreham 5y ago"Resume-driven development"
- seumars 5y agoWeb development > personal development
- capableweb 5y agoNo, that's something else. Choosing languages in order to look better on the resume is not personal development, it is resume-driven development. Learning new languages in order to become a better programmer overall is personal development, or learning languages that fits better with "you as a person". But chasing hype is not "personal development" and that meme needs to die.
- moritzwarhier 5y agoSad and true. The other side of the equation is people being forced to work under abysmal constraints, because of technical choices made years or even decades ago. That being said, "Rust on the frontend" sounds pretty ridiculous to me. I'm sorry for not having read the article before commenting.
- nine_k 5y agoNot more ridiculous than C++ on the frontend — which is typical if the frontend is a native GUI.
- moritzwarhier 5y agoCorrect, I was failing to take off my web dev hat
- smoldesu 5y agoFrom what I've seen, most frontend Rust development is focusing on replacing C/C++/C# frontends, not necessarily for websites or even really desktop applications. With that being said, I have written a few GTK+ applets in Rust, and I gotta say that it's not as bad as it sounds or looks. The current GTK crate supports Glade, meaning that you don't have to actually write your frontend in Rust, rather building it in a different program, exporting it as glorified XML and binding the intractables to different buttons and fields. A hello world-styled GTK demo is only a few lines, and of course you get a wickedly performant binary out of the process too (mine used 4mb of memory, which could have been further optimized).
- moritzwarhier 5y agoThanks for the informative reply!
- capableweb 5y agoAs someone with limited experience, how do you deal with animations and such in GTK/Glade? Took a look at the Glade website (https://glade.gnome.org/ https://glade.gnome.org/) and doesn't seem mentioned. In fact, I cannot even find a list of supported features.
- estebank 5y ago(Disclaimer: I have no idea what I'm talking about) I wouldn't be surprised if you could/had to do something similar to this sprite handling example[1], where instead of updating the sprite's location you update widgets' attributes. This would be a "manual" process, but it should work (if repainting widgets is fast enough). [1]: https://github.com/steshaw/gtk-examples/blob/master/ch13.sprites.animation/defender/animate.c#L304 https://github.com/steshaw/gtk-examples/blob/master/ch13.spr...
- smoldesu 5y agoAnimation is handled by the compositor I'm pretty sure. Since different Linux desktops have different performance requirements, some will opt-in to using more fancy animations, whereas less powerful ones will disable them. For everything else, you'd probably need to use some bespoke activators to achieve the effect you want. Not terribly hard to spin up, but it's definitely less simple than languages designed for frontend development.