Giter VIP home page Giter VIP logo

overture's Introduction

Logo

Workflow status

Overture

A small data structures and algorithm library in C, mostly header-only. This contains the following algorithms and data structures:

  • Vector and small vector,
  • Span,
  • Hash set,
  • Hash map,
  • Priority queue,
  • Unique stack,
  • Strings and string views,
  • Graph with various traversal algorithms,
  • String pool,
  • Memory pool,
  • Thread pool,
  • Union-find,
  • Heap sort,
  • Minstd0 random generator,
  • FNV-1a hash function,
  • Log and error message system,
  • Command-line argument parsing,
  • Testing framework with process isolation,
  • ANSI terminal code helpers,
  • Allocation routines,
  • Simple IO routines,
  • Bit manipulation routines

Important

This library is not intended to be used for public APIs, as there is no attempt at using namespaces to protect from name collisions. It also uses less portable constructs such as #pragma once and requires C23 for function and variable attributes.

Building

This project requires a C23-compliant compiler and CMake. The following commands build the project:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=<Debug|Release|Coverage> ..
make

Testing

Once built, the project can be tested via:

make test

or, alternatively, when trying to debug memory leaks or other memory errors with a memory checker:

make memcheck

Documentation

The project supports the doxygen code documentation generator. It can be invoked manually from the doc directory or by typing make doc using the CMake-generated Makefile (see instructions above to build using CMake).

License

This project is distributed under the MIT license.

overture's People

Contributors

madmann91 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.