Cython+ - Idées connexes et notes diverses¶
Idées¶
On Cython itself¶
- Tests cleanup (use pytest) ?
- Front-end pure python (Use the new Python parser) ?
- Backend: LLVM, MIR, …
- Backend: Python & WASM
Meta¶
- “cy2py” et “py2cy” (ie. transpilers from/to Python w/ annotation )
- Ex: Statically: https://github.com/AlanCristhian/statically (Very basic, but still useful)
- Others…
Contacts¶
- M. Honnibal: https://github.com/alehander92/Airtight/issues/1
Compiler stuff¶
Alternatives:
- Airtight - a python-like language with hindley-milner-like type system, which is compiled to c
- TPython++
Other resources:
- PPCI
- MIR
- QBE Intermediate Language
- The Compiler Writer Resource Page
- https://github.com/pseudo-lang/pseudo-python
- Compiling to Assembly from Scratch
- Pyccel “Python extension language using accelerators”
- https://github.com/zanellia/prometeo “An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing”
- https://transonic.readthedocs.io/en/latest/ “Transonic is a pure Python package (requiring Python >= 3.6) to easily accelerate modern Python-Numpy code with different accelerators (currently Cython, Pythran and Numba, but potentially later Cupy, PyTorch, JAX, Weld, Pyccel, Uarray, etc…).”
Crazy ideas¶
- https://github.com/aroberge/ideas#usage -> alternative syntaxes
- https://monte.readthedocs.io/en/latest/taste.html -> capabilities for safety
Autres idées folles¶
Autres serveurs¶
- Maddy (serveur mail en Go)
- sfu -> Galene (https://github.com/jech/galene)
Faire un truc comme: https://patchbay.pub/ ?
Cf.
- https://github.com/prologic/conduit
- https://github.com/xi/via/
Transpileur Go -> Python¶
Go parser: https://github.com/up9inc/gopygo