1 minute ago
- Link
cinpy is a tool where you can write C code in your Python code (with the help of ctypes - included in modern Python versions). When you execute your python program the C code is compiled on the fly using Tiny C Compiler (TCC). In this posting I will describe:
1) installation and testing cinpy, 2) a simple benchmark (c-in-py vs python), 3) compare performance with gcc (c-in-py vs gcc), 4) measure cinpy (on-the-fly) compilation time, 5) how to dynamically change cinpy methods - Amund Tveit


