[libc-commits] [libc] [libc][CPP] Add vector container and unit tests (PR #222972)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Sep 11 11:55:49 PDT 2026


jhuber6 wrote:

I'm wondering if we really want a generic vector type. I know compiler-rt has an mmap based one. I suppose in general I am hesitant to use dynamic memory management so freely in these implementations, when I would expect anything libc implements to have fairly simple behavior. I know we already have the fixed vector, I've been thinking if we should just make a lock free bump pointer type thing. The question I have is what scenario do we need full dynamic vector support that doesn't fit into a linked-list bump pointer, backed by mmap or maybe malloc.

https://github.com/llvm/llvm-project/pull/222972


More information about the libc-commits mailing list