migration

Migrating from Cython to Pyvorin

Convert .pyx files back to .py and compile with Pyvorin.

Published May 30, 2026

Step 1: Identify .pyx Files

find . -name "*.pyx"

Step 2: Convert to Pure Python

Remove cdef declarations and type annotations. Replace memoryviews with lists or NumPy arrays.

Step 3: Compile with Pyvorin

pyvorin compile module.py --function my_func

Step 4: Validate Correctness

Run the full test suite to ensure semantic equivalence.