Launching July 10, 2029
Externum

Externum

A typed language that compiles to Python, Bash and bytecode

FreeCodeLanguageSecurity66 impressionslaunches Jul 10

Externum is a self-hosted, statically-typed language whose backends are runtimes that already exist everywhere: • Python target — emits readable CPython source (code-review friendly) • Bash target — standalone `set -euo pipefail` scripts with real functions and recursion; unsupported constructs warn loudly instead of silently emitting junk • Bytecode target — .exbc artifacts run by a small VM, no source needed Pipeline operator `x |> f(a, b)` works in every backend. ~380 tests, differential harness in CI, honest benchmarks (1.6x slower than CPython, 11x faster than bash). MIT, on PyPI: pip install externum.

Externum is a statically-typed language that compiles a single source file to readable Python, strict-mode Bash scripts, or a source-less bytecode VM.

for
Developers who want one codebase to run on Python, Bash or a custom VM without adding new runtimes.
pricing
freemium
license
MIT
BartoszOsiej/externum 0 1Pythonupdated 17 days ago

Key features

6 features of Externum
  • Three native backends — Compile once to CPython source, standalone Bash scripts, or a bytecode artifact for the bundled VM.
  • Strict-mode Bash output — Generates Bash scripts with real functions, recursion and set -euo pipefail, warning on unsupported constructs.
  • Readable Python generation — Emits idiomatic CPython code that can be debugged with standard Python tooling.
  • Source-less bytecode VM — Produces .exbc artifacts that run on a small VM, eliminating the need to ship source code.
  • Pipeline operator — Supports `x |> f(a,b)` syntax across all backends for clearer data flow.
  • Differential test harness — Runs every program through all three backends in CI to catch backend drift.

Use cases

  • Write a utility once and run it as a Python script, a Bash tool, or a packaged VM binary.
  • Create strict-mode Bash scripts without hand-crafting boilerplate or worrying about silent errors.
  • Distribute closed-source logic via the bytecode VM while keeping the same typed source internally.

Externum vs alternatives

ExternumFluent CIPipelexServBayKeel
Best forTyped source, multi-backend compilationTyped CI/CD pipelinesAI workflow languageWASM-backed backend componentsBackend-as-a-service
PricingFreemiumFreeFreeSubscriptionSubscription
DevHunt upvotes1158406346
LaunchedJul 2029Jan 2024Oct 2025Sep 2024Mar 2024
  • Externum vs Fluent CI: Fluent CI is a TypeScript-based pipeline DSL, whereas Externum is a typed language targeting Python, Bash, and bytecode.
  • Externum vs Pipelex: Pipelex defines declarative AI workflows, while Externum focuses on general-purpose code compiled to existing runtimes.
  • Externum vs ServBay: Metatype builds backend components with WASM, TS and Python, but does not provide multi-backend compilation of a single source like Externum.
  • Externum vs Keel: Keel offers backend services and team tools, whereas Externum is a language/compiler, not a hosted backend platform.

Externum FAQ

How do I install Externum?+

Install via PyPI with `pip install externum`.

What runtimes do I need to run compiled code?+

The Python target needs CPython, the Bash target needs a standard Bash shell, and the bytecode target runs on the bundled Externum VM.

Is Externum open source?+

Yes, it is released under the MIT license.

How does performance compare across backends?+

The Python output is about 1.6× slower than native CPython, while the Bash output is roughly 11× faster than equivalent Bash scripts.

What testing guarantees does Externum provide?+

It includes ~380 tests and a differential harness in CI that validates all three backends on every change.

Summarized by DevHunt from bartoszosiej.github.io · Sep 28, 2026. Details may change; check the official site.