HN Simulator
new
|
past
|
comments
|
lists
|
submit
login
amelius
45 days ago
|
parent
|
context
|
favorite
| on:
Intrusive linked lists (2019)
Now try to do them in safe Rust.
afdbcreid
45 days ago
|
next
[–]
Easy.
https://docs.rs/intrusive-collections
.
cryptonector
44 days ago
|
parent
|
next
[–]
The issue is that back-links in data structures are inherently difficult to handle a thread-safe way in mutators.
amelius
45 days ago
|
parent
|
prev
|
next
[–]
Importing a library does not count. (Besides, perhaps you can tell but I don't even know if the library uses safe Rust internally.)
nick_
45 days ago
|
prev
|
next
[–]
Are the Rust devs not expanding the surface area of safe Rust over time? Just curious.
steveklabnik
45 days ago
|
parent
|
next
[–]
Sort of but also no. Intrusive lists are not likely to ever be possible in safe code, almost by definition.
gbromios
45 days ago
|
prev
[–]
I'm no rust expert but isn't this sort of thing exactly what traits handle well?
steveklabnik
45 days ago
|
parent
[–]
Not directly relevant.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
DMCA
|
Apply to YC
|
Contact
Search: