Back to browse
GitHub Repository

Nimic is a pure Python module that facilitates writing AOT compilable code with a subset of Python (DSL). Based on ctypes built-in module, it includes emulation of native types, pointers and operations on them, implementing dispatch, operator overloading, and templates. Nimic closely follows Nim programming language, to which nimic code transpiles.

4 starsPython

Nimic – write pure Python and compile AOT to native binaries via Nim

by dima-quant·May 30, 2026·5 points·0 comments

AI Analysis

●●SolidBig BrainNiche Gem

Python-to-Nim transpiler with ctypes-backed types when Cython and Numba already exist.

Strengths
  • AST-based transpilation preserves Python validity while generating equivalent Nim code
  • ctypes-backed type system with pointers, structs, and operator overloading emulation
  • Template inlining and multi-dispatch bring Nim features into Python DSL
Weaknesses
  • Only 2 GitHub stars suggests early stage with unproven production readiness
  • Cython, Numba, and mypyc already solve Python performance in more established ways
Target Audience

Python developers needing C-level performance without leaving Python syntax

Similar To

Cython · Numba · mypyc

Similar Projects