Watson: Launchpad now runs on Python 3
Watson: Launchpad now runs on Python 3
Posted Aug 3, 2021 22:42 UTC (Tue) by NYKevin (subscriber, #129325)In reply to: Watson: Launchpad now runs on Python 3 by rschroev
Parent article: Watson: Launchpad now runs on Python 3
Well, there's also Cython, which can transpile nearly any Python into C. But it has its own drawbacks, since what it really "wants to" do is let you write code in a mixture of Python and Python-with-C-type-annotations, and selectively speed up the latter on a line-by-line basis. If you try to read the C that it produces, you will find that it's almost completely impenetrable (each line of pure Python translates into 4-5 lines of calls to the C/Python API, error handling, dispatch, etc., and the whole thing also has a huge wall of #defines and other preprocessor garbage). So in practice, it's more like compiling to machine code, but in two steps.
           