Skip to content

Latest commit

 

History

62 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FormiDB

About

A very lightweight database engine implemented from scratch.


Build

Uses CMake for builds.

Creating a build directory (Recommended)

From the project root:

mkdir build
cd build

Configuring and building

Under the build directory

cmake ..
cmake --build .

After a successful build, two binaries should be generates as of now, one is the main application (formidb) and the other is for tests


Debug Builds, Testing, and Tooling

Building with CMake Debug configuration

To build FormiDB with debug symbols enabled:

mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .

(With debug flags enabled)


Debugging with gdb

Run the built executable under gdb:

gdb ./formidb

Leak checking with Valgrind

valgrind --leak-check=full --track-origins=yes ./formidb

In development

  1. Minimal SQL like interpreter to run in shell mode
  2. Thread safe pager (complete)

About

A minimalist embedded database engine from scratch, inspired by sqlite3

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages