Hacker News new | past | comments | ask | show | jobs | submit login

You can implement lists in Rust safely; with enums, a list is four lines of safe code. You can even implement a doubly-linked list safely. You just can't do either of these things by wielding pointers willy-nilly. If you're willing to accept a performance tradeoff by implementing a list in pure, bootstrapped, FFI-free Python, then you can do the same in Rust.



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

Search: