Comment on Ladybird Browser adopts Rust, with help from AI
eager_eagle@lemmy.world 10 hours agoThere’s no reason to believe it’s mostly unsafe. And even if that’s the case, changing from unsafe rust to safe is less of a leap than cpp to rust.
Comment on Ladybird Browser adopts Rust, with help from AI
eager_eagle@lemmy.world 10 hours agoThere’s no reason to believe it’s mostly unsafe. And even if that’s the case, changing from unsafe rust to safe is less of a leap than cpp to rust.
CameronDev@programming.dev 10 hours ago
Having done some C to rust auto-translation some time ago, it definitely was wildly unsafe. Maybe it’s better now, but there is no reason to assume it’s mostly safe now either. Even recently I did some regular vibe coding to test it out, and it generated some very questionable code.
Fixing unsafe can be a mixed bag, some will be easy, some will require much deeper changes. And without looking at the code, impossible to say which it will be.