Better HN
topnewbestaskshowjobs
Log inSign up

scrb

3 karma · joined Dec 8, 2021 (4y ago) · 3 submissions

Submissions

comment 4y ago · link · parent

As somebody else has already said, the idea is to use the c++ language and not its runtime or the standard library. In fact, there are a few clang-tidy checks for llvm libc to protect from accidentally using pieces from other libraries (like the system libc and the c++ standard library.) https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc-call... https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc-impl... https://clang.llvm.org/extra/clang-tidy/checks/llvmlibc-rest...

comment 4y ago · link · parent

It is an active project with parts of it already in use in production, for example in Fuchsia. A large part of OS independent pieces have already been implemented.

comment 4y ago · link · parent

Users wanting allocator functions (malloc and friends) from LLVM libc will get the SCUDO allocator. They need to use a special CMake option to include SCUDO when building LLVM libc.