Externum compiler launches: one typed Python source targets CPython, Bash, and bytecode
Externum, a statically typed programming language, launched today on Show HN and DevHunt, allowing a single source file to compile into readable CPython, a standalone Bash script, or a bytecode artifact. The self-hosted compiler is bootstrapped from a 6.4 KB Python stub and is available via pip under an MIT license. Benchmarks show the transpiled Python path runs about 1.6 times slower than hand-written CPython, while the bytecode VM is roughly 30 times slower and is intended for source-less distribution rather than performance. The project includes around 380 tests with a differential CI harness that runs all backends against the same suite, which uncovered three VM bugs that unit tests had missed. A paid Pro Pack with exercises and a production guide is available at a launch-week discount, though the core compiler remains free.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in