hn.today

Evergreen Common Lisp (EGCL)

github.com6 points0 comments
Screenshot of Evergreen Common Lisp (EGCL)

Evergreen Common Lisp (EGCL) is an experimental Common Lisp implementation written in Rust that combines a HotSpot-inspired tiered JIT, a moving generational garbage collector, and delivery tools for standalone executables. Supported code runs as bytecode and can promote to baseline and optimizing native code with on-stack replacement for hot loops, guarded specialization using observed values (with deoptimization on guard failure), and a tree-walking evaluator for unsupported shapes. Concurrency is lightweight: fibers multiplex on native threads and can park during nonblocking socket reads/writes; fibers still block on connect/accept/DNS. The runtime supports FFI to C, a JVM bridge, an optional CPython-facing API, and Android NativeActivity generation. Application delivery can save preloaded Lisp environments or emit single executables with unreachable code stripped; specialized runtime builds can omit unused builtins and compiler tiers.

Implemented language features include macros, CLOS, conditions/restarts, ASDF systems and selected SBCL-compatible extensions, though compatibility varies and ports are tracked. Platform support covers Linux (x86-64, AArch64, ppc64le, s390x), Windows x86-64, and Android ARM64/x86-64; Fedora x86-64 packages are published. Development is a Rust workspace with tests, CI, and fuzzing guidance; source builds pin a Rust toolchain. The project is explicitly experimental and not production-ready: most core code, tests and docs were generated by AI agents under human architectural direction, and the codebase uses GPL-3.0-or-later with the Classpath Exception.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Other

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.