Skip to content
forked from xjdrew/levent

lua concurrency library based on libev, similar with gevent

License

Notifications You must be signed in to change notification settings

sleepwom/levent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

levent

levent is a lua concurrency networking library inspired by gevent.

Features include:

  • Fast event loop based on libev.
  • Cooperative socket library
  • Similar api and components with gevent but with much more simpler implementation and better performance.

levent is licensed under MIT license.

get levent

Install lua 5.2 or newer.

Clone the repository.

Read test case and examples.

Post feedback and issues on the bug tracker,

build

need cmake 2.8 or newer.

cmake .
make

running tests

lua tests/test_socket.lua
lua example/echo.lua

to-do list

  • Cooperative dns query
  • Support more platform include windows, openbsd.

About

lua concurrency library based on libev, similar with gevent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 56.1%
  • Shell 23.1%
  • Perl 15.6%
  • C++ 3.3%
  • Lua 1.9%