LibCat
🐈⬛ A runtime for C++26 w/out libC or POSIX. Smaller binaries, only arena allocators, SIMD, stronger type safety than STL, and value-based errors!
Install / Use
/learn @Cons-Cat/LibCatREADME
#+TITLE: libCat 🐈⬛ #+AUTHOR: Conscat #+OPTIONS: ^:{} #+STARTUP: fold
libCat is a non-POSIX compliant C++26 runtime. It has no pthreads nor =malloc()=, and by extension no exceptions. It has type-safe arithmetic, SIMD, fast syscalls, CRTP interfaces,
- Building libCat requires a recent development version of Clang 20 from the =trunk= branch. Compiling libCat is only routinely tested using =ninja=. Configuring the build requires CMake 3.29. #+BEGIN_SRC $ export CXX=clang # Or any path to a Clang 20 executable $ cmake -B build/ -G 'Ninja Multi-Config' $ cmake --build build/ $ ./build/tests/Debug/unit_tests #+END_SRC
The =.clang-format= and =.clang-tidy= configurations are only compatible with recent builds of clang-tools from the =main= branch.
