3 ms·
Nice development! Would be interesting to see something like amdgpu rewritten in Rust.
by shmerl 7y ago
Nice development! Would be interesting to see something like amdgpu rewritten in Rust.
- mkl 7y agoWhy? Throwing away something useful and reimplementing it again the same from scratch seems like a silly waste of time.
- Avamander 7y agoSlowly rewriting it to Rust does sound beneficial (I wouldn't be seeing memory leaks) but I don't think the c(++)/Rust interop is good and seamless enough for that?
- shmerl 7y agoDepends on the code base.
- Thiez 7y agoStrictly speaking Rust doesn't prevent memory leaks. You can easily create cycles in reference counted types, or `std::mem::forget` something. No use of unsafe required either. That said as long as you don't build graphs with reference counted types it's hard to leak memory by accident.
- frozenport 7y agoWell played.