all options
stretch  ] [  stretch-backports  ] [  buster  ] [  sid  ]
[ Source: erlang-luerl  ]

Package: erlang-luerl (1:0.3-2 and others)

Links for erlang-luerl

Screenshot

Debian Resources:

Download Source Package erlang-luerl:

Maintainers:

External Resources:

Similar packages:

implementation of Lua in Erlang

An experimental implementation of Lua 5.2 written solely in pure Erlang

When to use Luerl:

Fast Language Switch: Luerl should allow you to switch between Erlang and Lua incredibly fast, introducing a way to use very small bits of logic programmed in Lua, inside an Erlang application, with good performance.

Multicore: Luerl provides a way to transparently utilize multicores. The underlying Erlang VM takes care of the distribution.

Microprocesses: It should give you a Lua environment that allows you to effortlessly run tens of thousands of Lua processes in parallel, leveraging the famed microprocesses implementation of the Erlang VM. The empty Luerl State footprint will be yet smaller than the C Lua State footprint.

Forking Up: Because of the immutable nature of the Luerl VM, it becomes a natural operation to use the same Lua State as a starting point for multiple parallel calculations.

However, Luerl will generally run slower than a reasonable native Lua implementation. This is mainly due the emulation of mutable data on top of an immutable world. There is really no way around this. An alternative would be to implement a special Lua memory outside of the normal Erlang, but this would defeat the purpose of Luerl. It would instead be then more logical to connect to a native Lua.

Some valid use cases for Luerl are:

 * Lua code will be run only occasionally and it wouldn't be worth managing
   an extra language implementation in the application;
 * the Lua code chunks are small so the slower speed is weighed up by Luerl's
   faster interface;
 * the Lua code calculates and reads variables more than changing them;
 * the same Lua State is repeatedly used to 'fork up' as a basis for
   massively many parallel calculations, based on the same state;
 * it is easy to run multiple instances of Luerl which could better utilise
   multicores.

Other Packages Related to erlang-luerl

  • depends
  • recommends
  • suggests
  • enhances

Download erlang-luerl

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 1:0.3-2 357.3 kB604.0 kB [list of files]
amd64 1:0.3-2 357.3 kB604.0 kB [list of files]
arm64 1:0.3-2 357.2 kB604.0 kB [list of files]
armel 1:0.3-2 357.3 kB604.0 kB [list of files]
armhf 1:0.3-2 357.4 kB604.0 kB [list of files]
hppa (unofficial port) 0.2015.12.10-3 338.6 kB521.0 kB [list of files]
hurd-i386 1:0.3-2 357.3 kB604.0 kB [list of files]
i386 1:0.3-2 357.4 kB604.0 kB [list of files]
kfreebsd-amd64 1:0.3-2 357.4 kB604.0 kB [list of files]
kfreebsd-i386 1:0.3-2 357.4 kB604.0 kB [list of files]
m68k (unofficial port) 1:0.3-2 357.4 kB604.0 kB [list of files]
mips 1:0.3-2 357.4 kB604.0 kB [list of files]
mips64el 1:0.3-2 357.4 kB604.0 kB [list of files]
mipsel 1:0.3-2 357.3 kB604.0 kB [list of files]
powerpcspe (unofficial port) 1:0.3-2 357.4 kB604.0 kB [list of files]
ppc64 (unofficial port) 1:0.3-2 357.4 kB604.0 kB [list of files]
ppc64el 1:0.3-2 357.4 kB604.0 kB [list of files]
riscv64 (unofficial port) 1:0.3-2 357.3 kB604.0 kB [list of files]
s390x 1:0.3-2 357.4 kB604.0 kB [list of files]
sh4 (unofficial port) 1:0.3-2 357.2 kB604.0 kB [list of files]
sparc64 (unofficial port) 1:0.3-2 357.4 kB604.0 kB [list of files]
x32 (unofficial port) 1:0.3-2 357.3 kB604.0 kB [list of files]