正在加载视频...

视频加载失败

Massive Memory Leaks in System76's Cosmic Desktop (Written in "Memory Safe" Rust) Plus: Hyprland developer weighs in, "No, I don't think it's beta ready :P"

141,344 次观看 • 1 年前 •via X (Twitter)

11 条评论

PRIZ ;] 的头像
PRIZ ;]1 年前

Rust, to my knowledge, does not catch memory leaks. Memory can be requested in different places from where they are released. The "memory safe" part refers to the fact that memory cannot be accessed out of scope. Buffer overflows or out-of-index reads are damn near impossible.

Evgeny Grishakof 的头像
Evgeny Grishakof1 年前

🤖 Survive Among Broken Robots Discover a mysterious junkyard planet where broken robots rule. Build, craft, farm and uncover secrets in this captivating survival game. 🎮 Add to your wishlist on Steam:

Allometry 的头像
Allometry1 年前

Well, the leak is safe. Rust doesn’t guarantee that the programmer won’t write leaky code.

꧁༺ 𝕛𝕦𝕤𝕥𝕚𝕟 ༻꧂ 的头像
꧁༺ 𝕛𝕦𝕤𝕥𝕚𝕟 ༻꧂1 年前

I don't know why, but I love seeing anything related to RUST blow up.

Nicola 的头像
Nicola1 年前

"The Lunduke Journal" is the best show ever

jamesblacklock 的头像
jamesblacklock1 年前

It's annoying how you are such a hater of Rust for no apparent reason. Btw memory leaks are not "unsafe" in memory safety parlance, and Rust explicitly does not claim to prevent memory leaks. Also it's literally alpha software, of course it's going to have memory leaks.

ponas 的头像
ponas1 年前

when retards dont know what "memory safety" means. disappointed in mr lunduke

Nichol Dance 的头像
Nichol Dance1 年前

I figure that Rust is C++ for people who live in polycules.

Tom Miller 的头像
Tom Miller1 年前

Languages like C and C++ have fortify options in compilers (enabled by default in distros), have powerful sanitizers in GCC and Clang (for safe memory, math, alignment...) and even implementations like Valgrind that catch nearly all remaining memory bugs. Rust has salesmen. 🙄

ObserverHerb 的头像
ObserverHerb1 年前

Rust evangelists: Rust is memory safe, stop using C. Everyone: *Writes leaks in Rust* Rust evangelists: THAT'S NOT WHAT I MEANT!

TheSameCat 的头像
TheSameCat1 年前

This is only funny because of how a subgroup of crustaceans act online, but boy is it funny. Shit code is shit in any language.

相关视频