Giter Club home page Giter Club logo

lev's Introduction

Welcome to lev -- Lua for Event-Based IO

lev is everything great about Node, without the "BS" of JS.
โ€• kristopher tate, lev founder

Here are some initial reasons to jump on board:

lev is faster than node, python, ruby and many others.

why: lev can easily reach over 10,000 requests per core per machine and scales near-linearly
how: lev allows developers to work with IO streams without the raw data ever touching the VM. A special slab allocator and trash-stack handles memory availability while our cBuffer object integrates nicely with the VM. Multi CPU/Core support is built-in from the start.

lev uses less memory than node, python, ruby and many others.

why: At start-up, lev only allocates around 2MB and after benchmarking HTTP a little over 3MB
how: lev is based on the very compact Lua language. A special Buffer object was also written in C to help quickly allocate and work with streams.

lev makes integrating great C-Libraries a breeze!

why: lev is based on Lua which has a very simple and compact C ABI
how: Use FFI or write a wrapper in C. Porting to lev should be simpler than others such as python, node or ruby.

Join us on IRC at #levdev on freenode.net

Building from git

Grab a copy of the source code:

git clone https://github.com/connectFree/lev.git --recursive

To use the Makefile build system (for embedded systems without python) run:

cd lev
CC=gcc make
make test
./build/lev

To install with the Makefile build system run:

sudo make install

Note: Travis CI uses the Makefile build system. So please make sure that it builds OK with the Makefile build system before sending pull requests.

lev's People

Contributors

alfred-nsh avatar andrewtsao avatar bnoordhuis avatar craigbarnes avatar creationix avatar dvv avatar hnakamur avatar kami avatar kazupon avatar kristate avatar mhart avatar mjohnsullivan avatar mkandrashoff avatar mmalecki avatar philips avatar pquerna avatar radare avatar rphillips avatar sh4rk avatar skomski avatar tadeuszwojcik avatar tim-smart avatar

Watchers

 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.