Show HN: Nimic – write pure Python and compile AOT to native binaries via Nim
Category: library
Tags: aot-compilation, dsl, nim, python, performance
Score: 7.0/10 (Innovation: 7, Technical: 8, Documentation: 7, Utility: 6)
Nimic is a Python module that allows writing code in a Python DSL which can be compiled ahead-of-time to native binaries via Nim, aiming for C-level performance while keeping the Python development experience. It is notable for its clean integration of Nim's type system and metaprogramming features (like multi-dispatch and templates) into Python, and for leveraging ctypes to make the code runnable in pure Python before transpilation. This project is interesting as it fills the gap between quick prototyping in Python and performance-critical AOT compilation without leaving the Python ecosystem.
Target audience: backend devs, data engineers, game developers, systems programmers
Repository: https://github.com/dima-quant/nimic · Python · MIT · 3 stars
View on Hacker News