[pkg-lua-devel] Bug#794008: ITP: lua-lanes -- Lua extension library providing the possibility to run multiple Lua states in parallel

Victor Seva linuxmaniac at torreviejawireless.org
Wed Jul 29 18:11:00 UTC 2015


Package: wnpp
Severity: wishlist
Owner: Victor Seva <linuxmaniac at torreviejawireless.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name    : lua-lanes
  Version         : 3.10.0
  Upstream Author : Benoit Germain <bnt.germain at gmail.com>
* URL             : https://github.com/LuaLanes/lanes/
* License         : MIT/X
  Programming Lang: C, Lua
  Description     : Lua extension library providing the possibility to run multiple Lua states in parallel


It is intended to be used for optimizing performance on multicore CPU's and
to study ways to make Lua programs naturally parallel to begin with.

Features:
 * Lanes have separated data, by default. Shared data is possible with Linda objects.
 * Communications is separate of threads, using Linda objects.
 * Data passing uses fast inter-state copies (no serialization required).
 * "Deep userdata" concept, for sharing userdata over multiple lanes.
 * Millisecond level timers, integrated with the Linda system.
 * Threads can be given priorities.
 * Lanes are cancellable, with proper cleanup.
 * No Lua-side application level locking - ever!
 * Several totally independant Lanes universes may coexist in an
   application, one per "master" Lua state.

Limitations:
 * Coroutines are not passed between states.
 * Sharing full userdata between states needs special C side preparations (-> deep userdata).
 * Network level parallelism not included.
 * Just like independant Lua states, Lanes universes cannot communicate together.

Dependence for luacheck ITP http://bugs.debian.org/776473
This will be maintained under the pkg-lua Team umbrella.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVuRc0AAoJEFGgmxjPWlBoOPcP/0lgKh2QdVDoAn6drVzyFEaM
6GeN5fdIM/HAPPBapZVCn1jrmeMNOcKdh8/2cen2NW2XQd9vljdfvJgUglGy3c2t
C2p0i3Z256yutkGAJ6Pv2CVcvtyN7w7avKuytC3kk5ArjqnZ4mSZ3if48Sr//Ae/
w4dA94MEWAYlXlsd2Xm74MDjWauiEmzqMhppN7lTjcliemaEQvEzbr/D0l3dZYF0
U50i/w9k9/giYYivYrmAZ4WvzMOXLYBBCYA6/JsVe67URrHFaIsRVtPh6JHVAt8l
FlGrsBPXrOyU1lyelbd4RkDu23yyEb7GKEfezeu5fJ5zbgu7U9ks/p5vlc2BUHbM
ZxsPxTwbuwhYuIGjlUnzPebqFDDVUqWs2IHGE501jEi5nseNwrKYXST1qT9iH0Xw
2G/7bOlXZaGw+g5ZTf3WvEv+TXMlOBwj9y4ymI6h9RgPTOyCCdLm1fQA48mjLshH
mDT3JHhZ21Vrp03AVnhVLZsSsijIpeGSzfkbL1XkIuGoUM+yCxbyqpzmO/f/wZBp
1pFCjC8YALxHnZCJT3tw62UYfyvC7z4YRRJa0dyZDW74Wb1rYHSrLs9Gds5aR75j
CVuSBUHwGUJfzklh0OXcQmvsuFoOoLTQJPZlSiOiBMikNc+/j2DSa13YE07Y2Xq9
37PDWiZiM3DBw76S0ANF
=8mdK
-----END PGP SIGNATURE-----



More information about the pkg-lua-devel mailing list