Sure, this is a question that people ask quite frequently.  I most recently answered it here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10569768" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10569768</a><p>&quot;&quot;&quot;Actually, Pymod was designed to be almost an anti-Cython. :)<p>My issue with Cython is that it&#x27;s a limited sub-language within Python, where you add Cython elements incrementally &amp; iteratively (diverging from Python in the process) until the code runs &quot;fast enough&quot;. I&#x27;d rather work directly in a full-featured, internally-self-consistent language from the start. Nim has a clean Pythonic syntax, with all the best parts of C++ (including its runtime speed).<p>Hence, Pymod takes the form of an `exportpy` annotation (a user-defined Nim pragma) onto existing Nim functions, which are then auto-compiled into a Python extension module.
So there&#x27;s no gradual divergence of my Python code (as it becomes more &quot;Cythonized&quot;); rather, the high-performance code is written directly in pure Nim. :)<p>&quot;&quot;&quot;<p>There are a few more details in that thread comparing the wrapping of existing C libraries in Cython vs Pymod.  (It doesn&#x27;t seem right to copy-paste an entire thread...)