erlang-luerl 1:1.0-1 source package in Ubuntu
Changelog
erlang-luerl (1:1.0-1) unstable; urgency=medium * New upstream version 1.0 * Updated Standards-Version: 4.6.0 (no changes needed) * Added debian/erlang-luerl.install to install new include/luerl.hrl into binary package * Added debian/upstream/metadata -- Philipp Huebner <email address hidden> Sun, 29 Aug 2021 18:42:47 +0200
Upload details
- Uploaded by:
- Ejabberd Packaging Team
- Uploaded to:
- Sid
- Original maintainer:
- Ejabberd Packaging Team
- Architectures:
- any
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
erlang-luerl_1.0-1.dsc | 2.0 KiB | be7a567469c46d5ef739cf7d55fcf13d96393d273b4555b62515956f47433d3e |
erlang-luerl_1.0.orig.tar.gz | 121.6 KiB | 636e720b0a490c67681ff2deaa4d3e0cdbeb2e59e259ac80732c7794874acdb4 |
erlang-luerl_1.0-1.debian.tar.xz | 3.8 KiB | fb385ff995cb288d28f93e1fb0ddd393eb06690cff6aa7b4e5ab2007475d125f |
Available diffs
- diff from 1:0.4-5 to 1:1.0-1 (91.0 KiB)
No changes file available.
Binary packages built by this source
- erlang-luerl: 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.