Skip to content

kumose/turbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turbo

中文版

Turbo is a C++ basic library developed in compliance with the C++17 standard, serving as the fundamental infrastructure for the Kumo product. Built and refined over years of hands-on experience in search and server-side development by the team, Turbo has been proven stable and reliable in tens of thousands of applications.

turbo is the fundamental of kumo, it serves with no dependencies, stability is the most import, secondary is performance.

It will carefully to add new feature. for example, the utf8 conversion, turbo's performance is lower than vamos, but it is stable, some case, we do not need that high performance in production.

🛠️ Build

This project uses kmpkg for dependency management and build integration. kmpkg automatically handles third-party library downloads, dependency resolution, and compiler flag configuration, avoiding the need to manually maintain complex CMake settings.

0. Prepare the environment

  • Linux (Ubuntu 20.04+ / CentOS 7+ Recommended)
  • CMake >= 3.20
  • GCC >= 9.4 / Clang >= 12
  • Make sure kmpkg is installed correctly, documents see installation guide

1.Configure the project (optional)

  • For the complete dependencies, refer to kmpkg.json
  • To update the dependency baseline, modify the baseline in default-registry of kmpkg-configuration.json
  • the baseline can be obtained via git log.

2. Build the project

Run in the project root directory:

cmake --preset=defualt
cmake --build build -j$(nproc)

Using Manual Dependency Management

If you manage dependencies yourself, you can build the project with standard CMake commands:

mkdir build
cd build
cmake ..
make -j$(nproc)

Note

  • --preset=default requires that the corresponding CMake preset is defined in the project root directory.
  • When managing dependencies manually, make sure CMake’s find_package can locate all required libraries.

3. Run Tests (Optional)

Run in the project root directory:

ctest --test-dir build

LICENSE

turbo has some code integrate from below:

Kumo offical release as Apache 2.

About

turbo kumose c++ fundamental library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages