Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A fast and spec-compliant LOLCODE implementation

License

NotificationsYou must be signed in to change notification settings

MonliH/lulz

Repository files navigation

Crates.io

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.

running

cargo install lulzlulz --help

build from source

git clone https://github.com/MonliH/lulz.gitcd lulzcargo run --release

how fast??

In a simplerecursive fibonacci benchmark, it performs about220x faster than lci, and13x faster than CPython:

Benchmark results

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

run tests

python run_tests.py

About

A fast and spec-compliant LOLCODE implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp