How to Install and Uninstall erlang-luerl Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 07,2024
1. Install "erlang-luerl" package
Please follow the guidelines below to install erlang-luerl on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
erlang-luerl
Copied
2. Uninstall "erlang-luerl" package
Please follow the steps below to uninstall erlang-luerl on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
erlang-luerl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the erlang-luerl package on Ubuntu 21.04 (Hirsute Hippo)
Package: erlang-luerl
Architecture: amd64
Version: 1:0.4-5
Multi-Arch: allowed
Priority: optional
Section: universe/libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ejabberd Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 633
Depends: erlang-base | erlang-abi (= 17.0), erlang-base (>= 1:23.2.3+dfsg) | erlang-base-hipe (>= 1:23.2.3+dfsg)
Filename: pool/universe/e/erlang-luerl/erlang-luerl_0.4-5_amd64.deb
Size: 373836
MD5sum: faf97d3f8f653f5ae1aa6be0809a06b2
SHA1: d128961651254a4c515e6c73000a16313684f863
SHA256: 64b13e39978c6a36fbfc97bb1363bb1ae7f08e8ae5a8db7073b9f8eda8c99d25
SHA512: ca45e9e7091e6b5a87b73b02537ec8964aaf1e7385413225d69e9d1fcdb37662d766e05a4d8b7929883d9c647f745f1e1bd13348f3b36c36dbaf91ba66c639c6
Homepage: https://github.com/rvirding/luerl
Description-en: 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.
Description-md5: ba0442956c0172294ab501db8dfd5616
Architecture: amd64
Version: 1:0.4-5
Multi-Arch: allowed
Priority: optional
Section: universe/libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ejabberd Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 633
Depends: erlang-base | erlang-abi (= 17.0), erlang-base (>= 1:23.2.3+dfsg) | erlang-base-hipe (>= 1:23.2.3+dfsg)
Filename: pool/universe/e/erlang-luerl/erlang-luerl_0.4-5_amd64.deb
Size: 373836
MD5sum: faf97d3f8f653f5ae1aa6be0809a06b2
SHA1: d128961651254a4c515e6c73000a16313684f863
SHA256: 64b13e39978c6a36fbfc97bb1363bb1ae7f08e8ae5a8db7073b9f8eda8c99d25
SHA512: ca45e9e7091e6b5a87b73b02537ec8964aaf1e7385413225d69e9d1fcdb37662d766e05a4d8b7929883d9c647f745f1e1bd13348f3b36c36dbaf91ba66c639c6
Homepage: https://github.com/rvirding/luerl
Description-en: 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.
Description-md5: ba0442956c0172294ab501db8dfd5616