Advanced Python: Achieving High Performance with Code Generation

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. mypyc

    Compile type annotated Python to fast C extensions

    Or you could start with mypyc [1] first and if the results do not please you, then you can use Cython; some folks don't want to learn yet another programming syntax, even though it's Pythonic enough to learn it in a rather short period of time, but still...

    https://github.com/mypyc/mypyc

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. PyO3

    Rust bindings for the Python interpreter

  4. maturin

    Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages

  5. ferocity

    Write Java expression trees, statements, methods and classes with a LISP-like internal DSL

    A while back I concluded that you could code up most of the examples from

    https://www.amazon.com/Paradigms-Artificial-Intelligence-Pro...

    in Python without doing anything too out of the ordinary. I just finished

    https://www.amazon.com/Lisp-Advanced-Techniques-Common/dp/01...

    and came to almost the same conclusion in that most of the macro use in that book is in the syntactic sugar or performance optimization category and I didn't have a lot of projects in the queue and people demanding my time I'd try coding up the ATN and Prolog examples in Python (sorta kinda did the "CLOS" example in that I built a strange kind of meta-object facility that made "objects" backed by RDF triples)

    In Java I did enough hacking on this project

    https://github.com/paulhoule/ferocity/blob/main/ferocity0/sr...

    to conclude I could create something that people who think "Java Sux" and "Common Lisp Sux" would really hate. If I went forward on that it would be to try "code golf not counting POM file size" by dividing ferocity into layers (like that ferocity0 which is enough to write a code generator that can stub the whole stdlib) so I could use metaprogramming to fight back against the bulkification you get from writing Java as typed S-expressions. (I'm pretty sure type erasure can be dealt with if you aren't interested in JDK 10+ features like var and switch expressions, on the other hand a system like that doesn't have to be able to code generate syntactic sugar sorts of structures because ferocity is all about being able to write syntatic sugar)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Accepting Bitcoin payments with Python, Rust and PyO3

    3 projects | dev.to | 22 Jul 2024
  • My Google Summer of Code (GSoC) 2025 in View

    8 projects | dev.to | 29 Aug 2025
  • How I’d scale a side project to 1 million users (without melting my server)

    7 projects | dev.to | 28 Aug 2025
  • Google admits anti-competitive conduct involving Google Search in Australia

    2 projects | news.ycombinator.com | 17 Aug 2025
  • Launch HN: Golpo (YC S25) – AI-generated explainer videos

    1 project | news.ycombinator.com | 13 Aug 2025