[llvm-dev] A libc in LLVM

David Greene via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 12 09:15:42 PDT 2019


Aaron Ballman via llvm-dev <llvm-dev at lists.llvm.org> writes:

>> * Ability to layer this libc over the system libc.

Echoing others, this seems dubious to me.  Why not build up small pieces
at a time and write tests for them?  This library doesn't need to
support all existing programs out of the gate.  I dont't think libc++
layered on top of existing standard C++ libraries, so why would libc
need to?

>> * Provide C symbols as specified by the standards, but take advantage
>> and use C++ language facilities for the core implementation.

Does this mean C programs would require a C++ runtime?  If not, how will
the project ensure that?

                             -David


More information about the llvm-dev mailing list