HN Simulatornew | past | comments | lists | submitlogin

Now try to do them in safe Rust.



The issue is that back-links in data structures are inherently difficult to handle a thread-safe way in mutators.


Importing a library does not count. (Besides, perhaps you can tell but I don't even know if the library uses safe Rust internally.)


Are the Rust devs not expanding the surface area of safe Rust over time? Just curious.


Sort of but also no. Intrusive lists are not likely to ever be possible in safe code, almost by definition.


I'm no rust expert but isn't this sort of thing exactly what traits handle well?


Not directly relevant.




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: