mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-24 02:00:59 +00:00
This makes breaking changes to add underscores to many non-standard function names provided by the c library. MODE=tiny is now tinier and we now use smaller locks that are better for tiny apps in this mode. Some headers have been renamed to be in the same folder as the build package, so it'll be easier to know which build dependency is needed. Certain old misguided interfaces have been removed. Intel intrinsics headers are now listed in libc/isystem (but not in the amalgamation) to help further improve open source compatibility. Header complexity has also been reduced. Lastly, more shell scripts are now available. |
||
|---|---|---|
| .. | ||
| lib | ||
| plinko.c | ||
| plinko.mk | ||
| README.txt | ||
DESCRIPTION
plinko is a simple lisp interpreter that takes advantage of advanced
operating system features irrespective of their practicality such as
using the nsa instruction popcount for mark sweep garbage collection
overcommit memory, segment registers, and other dirty hacks that the
popular interpreters cannot do; this lets plinko gain a considerable
performance edge while retaining an event greater edge in simplicity
We hope you find these sources informative, educational, and possibly
useful too. Lisp source code, written in its dialect is included too
under //tool/plinko/lib and unit tests which clarify their usage can
be found in //test/tool/plinko.
BENCHMARK
binary trees (n=21)
- sbcl: 200 ms (native jit; simulated arithmetic)
- plinko: 400 ms (interpreted; simulated arithmetic)
- python3: 800 ms (interpreted; native arithmetic)
- racket: 1200 ms (interpreted; simulated arithmetic)
AUTHOR
Justine Alexandra Roberts Tunney <jtunney@gmail.com>
LICENSE
ISC
SEE ALSO
SectorLISP
SectorLambda