- Notifications
You must be signed in to change notification settings - Fork0
A fast and spec-compliant LOLCODE implementation
License
NotificationsYou must be signed in to change notification settings
MonliH/lulz
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
lulz
is aLOLCODE implementation written in rust.It ismuch faster thanlci because it embedsLuaas a JIT-compiler backend.
also, it...
- won't give you randomsegfaults likelcidoesalot
- tries very hard to conform to theLOLCODE spec,with some additional (backwards compatible) features
- has beautiful and informativerust/clang-like-errors
this implementation is still a work in progress, and sometests still don't pass yet.
cargo install lulzlulz --help
git clone https://github.com/MonliH/lulz.gitcd lulzcargo run --release
In a simplerecursive fibonacci benchmark, it performs about220x faster than lci, and13x 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 tqdmcargo install hyperfine# Show help menu:python run_perfs.py --help
python run_tests.py