logoalt Hacker News

hackingonempty • today at 2:29 PM • 1 reply • view on HN

Part of Rust's schtick is also cost free abstractions.


Replies

justinhj • today at 3:39 PM

Neither C++ nor Rust is zero cost in many cases. Rust needs unsafe or expensive runtime primitives for doubly linked lists, an lru cache, a tree with parent pointers... Both patch the language gaps with libraries.