GithubHelp home page GithubHelp logo

libnica's Introduction

libnica

Build Status Coverage Status

DISCLAIMER

This library is undergoing an active development cycle. It is currently being developed in tandem with multiple projects, and as such the ABI and API should be considered currently unstable.

Scheduled changes:

  • Thread pool
  • Timing tests on all data types (and relevant improvements)
  • N-ary tree addition
  • List API changes
  • Move from C99 to C11
  • Thread-safe APIs (Atomic)
  • Improved file access functions
  • mmap helpers (RAII based)
  • Improved INI parser (lex-based w/ line continuation)
  • Fold in cve-check-tool changes/additions
  • Potential:
    • Fold in the templating mini-lib from new cve-check-tool
    • Simplified networking access (retaining underlying transparency)

Common C library functions

Lightweight library containing common functionality of typical "C utility libs".

Currently contains:

  • Dynamic array
  • List type
  • Simplified file manipulation functions (mkdir_p, rm_rf, etc)
  • A Hashmap implementation
  • A simple, efficient, INI File parser
  • Safe string manipulation functions for when strlen is out of the question

The majority of the API is designed to work on a RAII principle, using scope-based autofree helpers (see util.h) with minimal fuss.

Another important principle to keep in mind while hacking on libnica, is that memory leaks of any description in a successful usage, are forbidden. This includes any "possibly lost" memory through static initialisation as seen with heavier libraries.

License

LGPL-2.1

Copyright (C) 2014-2016 Intel Corporation

libnica's People

Contributors

bryteise avatar ikeydoherty avatar anselmolsm 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.