Re:Exploring System76's New Rust Based Desktop Environment
by k_kalupe22 on Friday January 14, 2022 @12:05AM
(#29930781)
I appreciate your facts. But System 76 should then call it GTK based, I guess.
Re:Exploring System76's New Rust Based Desktop Environment
by mmstick76 on Friday January 14, 2022 @06:47AM
(#29933298)
Only the applications are GTK-based. The compositor that makes the whole environment possible is written in Rust.
Re:Exploring System76's New Rust Based Desktop Environment
by mohanmcgeek on Thursday January 13, 2022 @10:11PM
(#29930185)
Does this work similar to the python bindings that were ubiquitous a decade ago?
My understanding is that you don't get any memory safety/performance advantage from using Rust because gtk can still be unsafe.
Is this correct?
Re:Exploring System76's New Rust Based Desktop Environment
by ludston on Thursday January 13, 2022 @10:24PM
(#29930249)
Even Rust code can still be unsafe. It's a question of where it can be unsafe. You're reducing the scope of code that can be unsafe to specific areas.
Re:Exploring System76's New Rust Based Desktop Environment
by symlinkk on Thursday January 13, 2022 @10:35PM
(#29930316)
So basically it’s not Rust.
Re:Exploring System76's New Rust Based Desktop Environment
by cowsandmilk on Friday January 14, 2022 @04:12AM
(#29932242)
How pure does your program have to be to be rust for you? How few libraries in C or C++ must it call? The developers are writing all their code in rust, so it is in rust…
Re:Exploring System76's New Rust Based Desktop Environment
by symlinkk on Friday January 14, 2022 @01:03PM
(#29937784)
It’s a UI library that’s showing UI controls that are written in C. It’s dishonest to call it Rust because it wraps those controls in a layer of Rust
Re:Exploring System76's New Rust Based Desktop Environment
by southerntofu on Friday January 14, 2022 @08:35AM
(#29934252)
By that standard no binary that links against glibc, whether originally written in rust or go, is in fact rust or go.
[1]: https://github.com/orgs/pop-os/repositories?q=&type=source&l...
[2]: https://gtk-rs.org/