3 ms·
I am really confused here. 1. Implementing a linked list is a one and done deal and should be included in a (standard) library. 2. Would a classic pointer bas
by andoando 1y ago
I am really confused here.
1. Implementing a linked list is a one and done deal and should be included in a (standard) library.
2. Would a classic pointer based implementation of a linked list in C really be a cause of security vulnerability??
- gaanbal 1y agoyea it's already in the standard library and it's very straightforward
- vacuity 1y agoThe one in the standard library is non-intrusive and allocates space on the heap per node. In situations where a linked list implementation, in Rust code, no less, is deemed necessary, alternatives should probably be used.