3 ms·
No, Cython is transpiler as well, it converts the code into C which you can then compile. If you use additional type markings it can generate more performant C
by takeda 5y ago
No, Cython is transpiler as well, it converts the code into C which you can then compile.
If you use additional type markings it can generate more performant C code.
BTW: I remember a blog article of someone who was using Cython as the primary language instead of Python.
- gpderetta 5y agoThe typical C compiler is a transpiler as well. It convert C code to assembly that is then converted by the assembler (another transpiler) to machine code. As the sibling comment notes, transpiler is not a very useful term.
- stonemetal12 5y ago>assembler (another transpiler) to machine code. A thought assembler was a "compiler", where a "compiler" is a special type of transpiler that is only capable of producing machine code.