2 ms·
Is there a plan to add a generic resizable array type? That's probably the number one thing I miss in C.
by panic 11y ago
Is there a plan to add a generic resizable array type? That's probably the number one thing I miss in C.
- AndyKelley 11y agoGood question. I'm going to see how well this works as part of the standard library, since it would have to allocate memory. And then operations like append or resize could return an error (since memory allocation can fail), and I want to make sure the semantics for that are reasonable. That and a Map data structure I want to make sure have convenient semantics since these primitives are used in many software applications.