Crates.io | lulz |
lib.rs | lulz |
version | 0.1.1 |
source | src |
created_at | 2021-11-18 02:19:51.769917 |
updated_at | 2021-11-18 02:20:47.505036 |
description | A fast and spec-compliant LOLCODE implementation |
homepage | |
repository | https://github.com/MonliH/lulz |
max_upload_size | |
id | 483768 |
size | 156,691 |
lulz
is a LOLCODE implementation written in rust.
It is much faster than lci because it embeds Lua
as a JIT-compiler backend.
also, it...
this implementation is still a work in progress, and some tests still don't pass yet.
cargo install lulz
lulz --help
git clone https://github.com/MonliH/lulz.git
cd lulz
cargo run --release
In a simple recursive fibonacci benchmark, it performs about 220x faster than lci, and 13x faster than CPython:
I will add more benchmarks soon. Note: The startup times of each implementation is included in the timings. Benchmarks performed on a AMD Ryzen 7 5700U.
To run the benchmarks yourself:
# Install dependencies:
pip install matplotlib numpy tqdm
cargo install hyperfine
# Show help menu:
python run_perfs.py --help
python run_tests.py