▲ 1 ▼ What are your thoughts on the upcoming COSMIC DE? (lemmy.ml) submitted 3 years ago by DaisyLee@lemmy.ml to c/linux@lemmy.ml 7 comments fedilink hide all child comments Basically title, with System76 moving from gnome to their new rust built COSMIC environment what are your thoughts?
[–] morrowind@lemmy.ml 0 points 3 years ago (1 child) How is rust more memory efficient than c or c++? permalink fedilink source parent hideshow 2 child comments replies: [–] apt_install_coffee@lemmy.ml 0 points 3 years ago (1 child) It's not, perhaps they meant memory-safe? The DE might be more memory efficient given the hindsight and freedom a fresh slate brings, but not strictly due to rust. permalink fedilink source parent hideshow 2 child comments replies: [–] mmstick@lemmy.ml 0 points 3 years ago* (last edited 3 years ago) (1 child) There's several things that make Rust more ideal for writing software that makes efficient use of resources than C or C++. One of these is how cumbersome it is to use tagged unions in C/C++. They're integrated as a first class citizen in Rust in the form of enums, and both the standard library and all Rust projects as a whole utilize them extensively. An example would be the Cow<'a, T> type. The compiler also has some clever tricks like zero-sized types which can reduce the size of types which contain them. On the surface, the borrowing and ownership model is useful for guaranteeing memory safety. Yet if you take that a step further, it's the perfect tool for finely optimizing resource usage with confidence. In comparison, defensive programming practices are the norm in C and C++ because resource management is risky. So applications written in Rust are more likely to be better optimized. permalink fedilink source parent hideshow 2 child comments replies: [–] Nuuskis@sopuli.xyz 0 points 3 years ago (1 child) Hey, do you have plans to open any communities into Lemmy? permalink fedilink source parent hideshow 2 child comments replies: [–] mmstick@lemmy.ml 0 points 3 years ago* (1 child) We created https://kbin.social/m/pop_os I haven't been able to contact the owner of https://lemmy.ml/c/pop_os permalink fedilink source parent hideshow 2 child comments replies: [–] russjr08@outpost.zeuslink.net 1 point 3 years ago If the author of the community isn't responding, I believe you can pop a request over at https://lemmy.ml/c/community_requests to have it transferred to you. permalink fedilink source parent
[–] apt_install_coffee@lemmy.ml 0 points 3 years ago (1 child) It's not, perhaps they meant memory-safe? The DE might be more memory efficient given the hindsight and freedom a fresh slate brings, but not strictly due to rust. permalink fedilink source parent hideshow 2 child comments replies: [–] mmstick@lemmy.ml 0 points 3 years ago* (last edited 3 years ago) (1 child) There's several things that make Rust more ideal for writing software that makes efficient use of resources than C or C++. One of these is how cumbersome it is to use tagged unions in C/C++. They're integrated as a first class citizen in Rust in the form of enums, and both the standard library and all Rust projects as a whole utilize them extensively. An example would be the Cow<'a, T> type. The compiler also has some clever tricks like zero-sized types which can reduce the size of types which contain them. On the surface, the borrowing and ownership model is useful for guaranteeing memory safety. Yet if you take that a step further, it's the perfect tool for finely optimizing resource usage with confidence. In comparison, defensive programming practices are the norm in C and C++ because resource management is risky. So applications written in Rust are more likely to be better optimized. permalink fedilink source parent hideshow 2 child comments replies: [–] Nuuskis@sopuli.xyz 0 points 3 years ago (1 child) Hey, do you have plans to open any communities into Lemmy? permalink fedilink source parent hideshow 2 child comments replies: [–] mmstick@lemmy.ml 0 points 3 years ago* (1 child) We created https://kbin.social/m/pop_os I haven't been able to contact the owner of https://lemmy.ml/c/pop_os permalink fedilink source parent hideshow 2 child comments replies: [–] russjr08@outpost.zeuslink.net 1 point 3 years ago If the author of the community isn't responding, I believe you can pop a request over at https://lemmy.ml/c/community_requests to have it transferred to you. permalink fedilink source parent
[–] mmstick@lemmy.ml 0 points 3 years ago* (last edited 3 years ago) (1 child) There's several things that make Rust more ideal for writing software that makes efficient use of resources than C or C++. One of these is how cumbersome it is to use tagged unions in C/C++. They're integrated as a first class citizen in Rust in the form of enums, and both the standard library and all Rust projects as a whole utilize them extensively. An example would be the Cow<'a, T> type. The compiler also has some clever tricks like zero-sized types which can reduce the size of types which contain them. On the surface, the borrowing and ownership model is useful for guaranteeing memory safety. Yet if you take that a step further, it's the perfect tool for finely optimizing resource usage with confidence. In comparison, defensive programming practices are the norm in C and C++ because resource management is risky. So applications written in Rust are more likely to be better optimized. permalink fedilink source parent hideshow 2 child comments replies: [–] Nuuskis@sopuli.xyz 0 points 3 years ago (1 child) Hey, do you have plans to open any communities into Lemmy? permalink fedilink source parent hideshow 2 child comments replies: [–] mmstick@lemmy.ml 0 points 3 years ago* (1 child) We created https://kbin.social/m/pop_os I haven't been able to contact the owner of https://lemmy.ml/c/pop_os permalink fedilink source parent hideshow 2 child comments replies: [–] russjr08@outpost.zeuslink.net 1 point 3 years ago If the author of the community isn't responding, I believe you can pop a request over at https://lemmy.ml/c/community_requests to have it transferred to you. permalink fedilink source parent
[–] Nuuskis@sopuli.xyz 0 points 3 years ago (1 child) Hey, do you have plans to open any communities into Lemmy? permalink fedilink source parent hideshow 2 child comments replies: [–] mmstick@lemmy.ml 0 points 3 years ago* (1 child) We created https://kbin.social/m/pop_os I haven't been able to contact the owner of https://lemmy.ml/c/pop_os permalink fedilink source parent hideshow 2 child comments replies: [–] russjr08@outpost.zeuslink.net 1 point 3 years ago If the author of the community isn't responding, I believe you can pop a request over at https://lemmy.ml/c/community_requests to have it transferred to you. permalink fedilink source parent
[–] mmstick@lemmy.ml 0 points 3 years ago* (1 child) We created https://kbin.social/m/pop_os I haven't been able to contact the owner of https://lemmy.ml/c/pop_os permalink fedilink source parent hideshow 2 child comments replies: [–] russjr08@outpost.zeuslink.net 1 point 3 years ago If the author of the community isn't responding, I believe you can pop a request over at https://lemmy.ml/c/community_requests to have it transferred to you. permalink fedilink source parent
[–] russjr08@outpost.zeuslink.net 1 point 3 years ago If the author of the community isn't responding, I believe you can pop a request over at https://lemmy.ml/c/community_requests to have it transferred to you. permalink fedilink source parent