About Amalgame

Amalgame is a programming language born from a simple idea: take the best of every language and unite it into a single coherent tool that compiles to portable C.

Philosophy

The name « Amalgame » states the intent: take what's productive and loved in every language, and synthesize it. Pattern matching from Rust, null-safety from Kotlin, comprehensions from Python, lambdas from F#, generics from TypeScript, pipelines from Elixir, ADTs from Haskell — assembled on a predictable, performant C-like base.

Technical

The compiler (amc) is self-hosted: written in Amalgame itself, it rebuilds itself in five seconds, test suite included. Output is readable C that gcc compiles with -O2 into a standard native binary, deployable like any C program — on Linux, macOS, Windows. No hidden allocations beyond the Boehm GC.

The author

Amalgame is created and maintained by Bastien Mouget. The project is open to contributions under the Apache 2.0 license.

This language and its compiler were built with the help of AI. We own it — here's how.

Read the project's genesis →