News for hackers. Stuff that matters.
Re:Rust in QEMU Roadmap by bonzini on Thursday December 05, 2024 @09:50AM (#42328718)
Well, smart pointers and (sort of) templates and lambdas are in Rust. I definitely want smart pointers.
Re:Rust in QEMU Roadmap by crabbone on Thursday December 05, 2024 @10:41AM (#42329220)
Not when you need your own allocator. Anything that tries to manage memory w/o you knowing about it will be working against you.
Re:Rust in QEMU Roadmap by bonzini on Thursday December 05, 2024 @04:53PM (#42333231)
Smart pointers are not really about managing memory, they're about managing lifetimes. Even things like the Rust RefCell are smart pointers.
Re:Rust in QEMU Roadmap by crabbone on Friday December 06, 2024 @05:44AM (#42338472)
Rust lifetimes is a mechanism to manage memory.