View Single Post
Old 04 November 2019, 20:03   #31
Bruce Abbott
Registered User

Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 321
Quote:
Originally Posted by Gorf View Post
As your main argument was, Python would be terribly slow, I mentioned Cython as an easy way to make it fast by using strong types.
Cython
Quote:
Cython works by producing a standard Python module. However, the behavior differs from standard Python in that the module code, originally written in Python, is translated into C. While the resulting code is fast, it makes many calls into the CPython interpreter and CPython standard libraries to perform actual work. Choosing this arrangement saved considerably on Cython's development time, but modules have a dependency on the Python interpreter and standard library.

Although most of the code is C-based, a small stub loader written in interpreted Python is usually required (unless the goal is to create a loader written entirely in C, which may involve work with the undocumented internals of CPython).
Shit piled on top of shit.
Bruce Abbott is offline  
 
Page generated in 0.04211 seconds with 11 queries