Description
Pycket is a Racket implementation built with the RPython framework, with a meta-tracing JIT back-end. RPython turns an interpreter written in RPython, here a CEK machine interpreter for Racket, into a fast binary, and it can add a tracing JIT. The project maintains two modes. pycket-c is the original design, a basic interpreter for Racket's #%kernel language that relies on a Racket binary to expand programs. pycket-c-linklet is the full Racket implementation, which uses bootstrapping linklets to self-host Racket. It does not need a Racket binary, but it needs Racket's src and collects directories to load the full language. Building means translating the interpreter with the make targets. The README recommends PyPy for translation, because it is much faster than CPython, and it notes that building PyPy takes more than two hours. Benchmarks are kept in a separate repository with instructions for running them. It suits developers who work on Racket implementations or JIT compilers.…
Highlights
- Racket on RPython with a tracing JIT
- pycket-c and pycket-c-linklet modes
- Self-hosting Racket through linklets
- Make targets for building
- Benchmarks in a separate repository
Ratings & Reviews
No ratings yet
Be the first to rate Pycket.
People also visit
QuickStack
Open-source, self-hostable alternative to Vercel, Netlify, Railway and Heroku
Pycket FAQ
What is Pycket?
A Racket and Scheme implementation built with the RPython framework, with a meta-tracing JIT back-end.
Do I need a Racket install?
For pycket-c, yes, since it relies on a Racket binary to expand programs. pycket-c-linklet does not need one, but it needs Racket's src and collects directories.
How do I build it?
Use the make targets to translate the interpreter. PyPy is recommended, and the make-pypy target can build it, which takes more than two hours.
Is it open source?
Yes. The source is public on GitHub.
What are the best Pycket alternatives?
Popular alternatives to Pycket include Maru, Cowgol and DrRacket. See all Pycket alternatives

