(Originally I targeted five, but Pythran didn’t like the benchmark programs I used, so it didn’t make the cut.) In the end, I chose four, all running on Ubuntu Linux: Nuitka, PyPy, Cython and cx_Freeze. ![]() I wanted to compare a few Python compilers on the same platform, especially those that support Python 3.x. But because Python programs aren’t that fast, developers have created several Python compilers over the years, including IronPython and Jython.įast performance isn’t the only reason for compiling possibly the biggest disadvantage of scripting languages such as Python is that you implicitly provide your source code to customers. That’s good for learning, as you can run code in the Python REPL and see results immediately rather than having to compile and run. To be more precise, your Python code is compiled into byte code that is then interpreted. That’s because CPython, the standard implementation, is interpreted. ![]() Python is a reasonably fast language, but it’s not as fast as compiled programs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |