Lucen
Lucen is a source-to-source compiler that automatically parallelizes ordinary Python loops using comment pragmas. It parallelizes only the loops it can prove are both safe and worthwhile, and guarantees that a parallel run is bit-identical to the same file executed as plain sequential Python.
import lucen
lucen.activate()
# LUCEN START
for i in range(len(records)):
scores[i] = score(records[i])
# LUCEN END
The quickstart is the README. Everything else is on this site.
Guides
- Limitations, known gaps and the trust contract
- Benchmarks, measurements across seven interpreters
- Stability policy, what is stable and what may change
- Roadmap, what is planned and in what order
- Changelog, what changed in each release
Reference
- Architecture, the pipeline and dispatch flow with diagrams
- Pragma and clause reference, every pragma and clause
- API reference, generated from the public API
- Glossary, the domain terms in one place
- Paper, the design and evaluation
- Technical specification
- Engineering guide
- Formal specifications
- Architecture decisions
Project
- Getting support, where to take a question, a bug, or a security report
- Contributing, how to get a change merged