• This repository has been archived on 05/Apr/2022
  • Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    C
  • License
    Other
  • Created almost 12 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Queueing/Networking Library

Nitro

Nitro is a very fast, flexible, high-level network communication library.

http://gonitro.io

Build

You need:

  1. Linux, Mac OS X, FreeBSD... something Unix-y
  2. redo, a build tool ( https://github.com/apenwarr/redo )
  3. libev development libraries installed (something like apt-get install libev-dev should work)
  4. libsodium ( https://github.com/jedisct1/libsodium/releases ). 0.4.2+ recommended.

Then:

Build Nitro

$ redo

Run the Nitro test suite

$ redo check

Install Nitro

$ sudo redo install

Build Note

If you need to specify a different gcc executable besides just gcc, you can define $CC in the environment:

CC=gcc-4.7 redo

Using Nitro

Nitro uses pkg-config; so after you're installed, just do something like:

$ cat test.c
#include <nitro.h>

void main() {
        nitro_runtime_start();
}
$ gcc `pkg-config --cflags nitro` test.c `pkg-config --libs nitro`
$ ./a.out
$

Examples

You can find examples in the examples/ directory in the distribution.

Bindings, Docs, Etc.

Check out the website:

http://gonitro.io

Status

Nitro is beta software. Submit bug reports, please!

Author

Jamie Turner [email protected] @jamwt