faster-cpython
sbcl
Our great sponsors
faster-cpython | sbcl | |
---|---|---|
20 | 59 | |
937 | 1,769 | |
- | 1.1% | |
0.0 | 9.9 | |
over 1 year ago | 5 days ago | |
Common Lisp | ||
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
faster-cpython
-
Faster CPython at PyCon, part two
It is unclear to me whether Python 3.12 will receive significant improvements. Based on the information from https://github.com/faster-cpython/benchmarking-public, it appears that there may be a 2% performance enhancement. Is this the anticipated result, or are there additional developments awaiting merger?
Initially, the "Shannon Plan" (https://github.com/markshannon/faster-cpython/blob/master/pl...) aimed for a 50% improvement with each release. Has this goal been deemed unattainable, or are there adjustments being made to the plan?
-
Python-based compiler achieves orders-of-magnitude speedups
Yes, that's the JIT part of the plan. Sections of code will be compiled, "at runtime". Those sections of compiled code will be tied together with interpreted code. It will be somewhere between rare to impossible to have a fully compiled program, without interpreter glue.
- Faster-Cpython Plan.md
-
A Team at Microsoft is Helping Make Python Faster
see: https://github.com/markshannon/faster-cpython/blob/master/plan.md
- Implementation plan for speeding up CPython
-
Does Python plan to add JIT or get rid of the GIL?
Yes, the Shannon plan, which is actively being worked on by a team headed by Guido, includes JIT work in stages 3 and 4
-
Python 3.11 is 25% faster than 3.10 on average
The goal with faster cpython is for small compounding improvements with each point release[0]. So in the end it should be much more than a tiny improvement.
[0] https://github.com/markshannon/faster-cpython/blob/master/pl...
-
Python 3.11 Performance Benchmarks Are Looking Fantastic
The Shannon Plan. Announced by Guido at the 2021 Python Language summit, funded by Microsoft.
Well, good news then, it's in the planning!
- Why hasn't Python compiled/JIT/AHT projects gained mainstream traction?
sbcl
-
Arena Allocation in SBCL
Based on the commit message [0], and the references to "user code" in this document, my guess is that user programs have or will have access, but it's not finalized enough to be documented.
That being said, I suppose if you're developing an internal API for a compiler/interpreter, your "users" could be other parts of the project rather than language users.
https://github.com/sbcl/sbcl/commit/7f65522a16d857e41aa61cd0...
-
Steel Bank Common Lisp 2.3.8 released: “a mark-region parallel GC is available”
See for example:
https://github.com/sbcl/sbcl/blob/master/doc/internals-notes...
- Implementing Interactive Languages
-
Garbage Collection in a Large Lisp System (1984) [pdf]
related: the Immix inspired parallel-mark-region GC developed by Hayley Patton (https://github.com/no-defun-allowed/swcl) got merged recently into SBCL.
https://github.com/sbcl/sbcl/blob/master/doc/internals-notes...
https://applied-langua.ge/~hayley/swcl-gc.pdf
build with
./make.sh --without-gencgc --with-mark-region-gc (on x86-64/Linux and x86-64/macOS only at the moment).
-
SBCL: merge of mark-region GC
The Immix inspired mark-region GC developed by Hayley Patton (https://github.com/no-defun-allowed/swcl) got merged recently, which is pretty cool news for SBCL users.
- Owner of Symbolics Lisp machines IP is interested in a non-commercial release
- Steel Bank Common Lisp
What are some alternatives?
cinder - Cinder is Meta's internal performance-oriented production version of CPython.
ccl - Clozure Common Lisp
pyenv-virtualenv - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
abcl - Armed Bear Common Lisp <git+https://github.com/armedbear/abcl/> <--> <svn+https://abcl.org/svn> Bridge
ideas
sb-simd - A convenient SIMD interface for SBCL.
jax-md - Differentiable, Hardware Accelerated, Molecular Dynamics [Moved to: https://github.com/jax-md/jax-md]
BQN - An APL-like programming language. Self-hosted!
Pyston - A faster and highly-compatible implementation of the Python programming language.
cl-ppcre - Common Lisp regular expression library
chruby - Changes the current Ruby
maiko - Medley Interlisp virtual machine