Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bonzini
on Dec 5, 2024
|
parent
|
context
|
favorite
| on:
Rust in QEMU Roadmap
Well, smart pointers and (sort of) templates and lambdas are in Rust. I definitely want smart pointers.
crabbone
on Dec 5, 2024
[–]
Not when you need your own allocator. Anything that tries to manage memory w/o you knowing about it will be working against you.
bonzini
on Dec 5, 2024
|
parent
[–]
Smart pointers are not really about managing memory, they're about managing lifetimes. Even things like the Rust RefCell are smart pointers.
crabbone
on Dec 6, 2024
|
root
|
parent
[–]
Rust lifetimes is a mechanism to manage memory.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: