Codon is a high-performance Python compiler that compiles Python code to native machine code without any runtime overhead. Typical speedups over Python are on the order of 100x or more, on a single thread. Codon supports native multithreading which can lead to speedups many times higher still. The Codon framework is fully modular and extensible, allowing for the seamless integration of new modules, compiler optimizations, domain-specific languages and so on. We actively develop Codon extensions for a number of domains such as bioinformatics and quantitative finance.

Features

  • No learning curve: Be as close to CPython as possible in terms of syntax, semantics and libraries
  • Top-notch performance: At least on par with low-level languages like C, C++ or Rust
  • Hardware support: Full, seamless support for multicore programming, multithreading (no GIL!), GPU and more
  • Documentation available
  • Optimizations: Comprehensive optimization framework that can target high-level Python constructs and libraries
  • Interoperability: Full interoperability with Python's ecosystem of packages and libraries

Project Samples

Project Activity

See All Activity >

Categories

Compilers

Follow Codon

Codon Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Codon!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ Compilers

Registered

2024-09-20