mypyc seems to be best for AOT compiling eudplib codes. eudplib is kind of internal DSL for making EUD triggers, and type annotation helps a lot for users. Comparison with other AOT Python compilers:
Nuitka:
Pros: Nuitka can embed and compile most Python dependencies.
Cons: Nuitka takes old python compatibility very seriously, which does not matter to us. Nuitka seems to not support or utilize type annotations.
Cython:
Pros: Nuitka can embed and compile most Python dependencies.
Cons: Different syntax.
Rust/PyO3 : Python/Rust interop, will replace current C++/pybind11 codes in project. (tired of C++ build systems)
Overview
mypyc seems to be best for AOT compiling eudplib codes. eudplib is kind of internal DSL for making EUD triggers, and type annotation helps a lot for users. Comparison with other AOT Python compilers: Nuitka:
Cython: