3 ms·
What do they mean by Desktop? File manager and other tools? How will Rust help in this specific case? Or is it a case of the developers like Rust?
by tarkin2 5y ago
What do they mean by Desktop? File manager and other tools? How will Rust help in this specific case? Or is it a case of the developers like Rust?
- willmorrison 5y agoSystem76 developers like Rust. Many of their tools (daemons, CLIs, etc) use Rust. It would also help in this case because if it’s safety.
- smoldesu 5y ago> How will Rust help in this specific case? Here's an answer that's sure to enrage people: it's not C. I get the hate for Rust. I really do, I use the language on a near-daily basis and run into it's edge cases pretty frequently. However, I'd prefer to write in Rust over C/C++ any day of the week, and I get the feeling that a lot of System76 developers feel the same way. If the name of the game is rapid iteration, C is not going to be a sane choice for your project these days, at least compared to the competition. As more and more languages step up to fill in the gaps, we're starting to see a world where "safe" and "useless" are not mutually exclusive features. To that end, C has become quite antiquated for modern development.
- hajile 5y agoDon't forget that using GTK with C is basically switching to a dynamically-typed language too. Everything is void pointers so you can pass various kinds of GTK structs around. This leaves you either checking the component type constantly or running the risk of something going very wrong. With Rust, you can test against the specific types being passed around giving you the best of both worlds where you have static typing that is missing in C and you have the performance of those type checks compiling away.