lisp-in-life
primes-cpp
lisp-in-life | primes-cpp | |
---|---|---|
6 | 1 | |
444 | 0 | |
- | - | |
1.8 | 10.0 | |
over 2 years ago | over 7 years ago | |
C | C++ | |
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.
lisp-in-life
-
Discussion Thread
Still, my favorite has to be the LISP interpreter written in Conway's Game of Life written in LISP.
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
Almost forgot - Lisp In Life. Pretty sure I first saw that on HN. IMO the more amazing thing is the Life-based processor, once you have that, the rest is a matter of adding layers. But it's one thing to know someone could do it, quite another to see it in action.
https://github.com/woodrush/lisp-in-life
Run it in your browser here. Definitely worth zooming all the way in to get a sense of scale.
https://woodrush.github.io/lisp-in-life/
- A Lisp interpreter implemented in Conway's Game of Life
- A Lisp Interpreter Implemented in Conway's Game of Life
primes-cpp
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
Everybody mentions this, and what's great is that it is a pretty natural solution to a lot of problems. I remember coming up with a version of it while writing an optimized prime-sieve[1], and was surprised when I later learned that it was some named technique.
In addition to just the basic loop-unrolling (which I'm pretty sure you usually don't need to do by hand with modern compilers), it works really well when you need to jump into the middle of a pattern. Like if you're sieving primes in a wheel-factorized array.
[1] https://github.com/patricksjackson/primes-cpp/blob/master/pr...
// Here we're only checking possible primes after wheel-factorization
What are some alternatives?
ol - Otus Lisp (Ol in short) is a purely* functional dialect of Lisp.
scheme - An R7RS Scheme implemented in WebAssembly
janet - A dynamic language and bytecode vm
lispe - An implementation of a full fledged Lisp interpreter with Data Structure, Pattern Programming and High level Functions with Lazy Evaluation à la Haskell.
ulisp-bl602 - A version of the Lisp programming language for RISC-V BL602 Boards
triplea - TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
WaspVM - The Wasp Lisp Virtual Machine, Associated Libraries, and MOSREF
GOL-C - A terminal application of Conways Game of Life, implemented in C.
astexplorer - A web tool to explore the ASTs generated by various parsers.
Connery - Connery is an experimental lisp themed after veteran actor Sean Connery.
notcurses - blingful character graphics/TUI library. definitely not curses.