luafun/luafun
Lua Fun is a high-performance functional programming library for Lua designed with LuaJIT's trace compiler in mind. observed · 2026-08-28
Health v2 · maintenance only
39/100
- Activity 16
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4670
- days_rel: n/a
- days_push: 505
- n_releases_24m: 0
Adoption not part of the score
2261 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Lua Fun is a high-performance functional programming library for Lua and LuaJIT, providing over 50 primitives like map, filter, reduce, and zip. It is designed to leverage LuaJIT's trace compiler so functional compositions compile into efficient machine code.
Use cases
- write functional-style map/filter/reduce pipelines in Lua
- process sequences lazily with generators and iterators
- get near-C performance for nested functional expressions on LuaJIT
- replace verbose imperative loops with composable higher-order functions
- use functional programming primitives from Haskell/ML/Python in Lua
When to choose
- you use LuaJIT and want functional code that JIT-compiles into tight machine loops
- you need a rich set of iterator and sequence primitives in Lua
- you want a small, documented, unit-tested library installable via luarocks
When to avoid
- you need a guaranteed-stable API for production (master branch may change)
- you use Lua versions beyond 5.3 or need features outside its supported runtimes
- you need object-oriented or data-structure libraries rather than sequence operations
Facets
library · maturity active
concurrency developer-tools programming-languages developer-tools lua cross-platform functional-programming luajit iterators lazy-evaluation higher-order-functions algorithms
2 sources
- readme: https://github.com/luafun/luafun · fetched 2026-08-28 · 9c84722386b2
- homepage: https://luafun.github.io/ · fetched 2026-08-29 · 4081b8c1175f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| luafun/luafun | main | 39 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem