Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dbaupp
on Feb 23, 2018
|
parent
|
context
|
favorite
| on:
Why writing a linked list in safe Rust is so damne...
That doesn't work. std::weak_ptr is a reference counted pointer matched to std::shared_ptr; there's no concept of weak pointers (i.e. non-owning with dynamic checks) for std::unique_ptr, which corresponds almost exactly to Rust's Box.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: