Do you still need an add-on library to use more than one core?
Python performance myths and fairy tales
11–20 of 221 posts
Re: Python performance myths and fairy tales
#12Even if you have to stick to CPython, Numba, Pythran etc, can give you amazing performance for minimal code changes.
Re: Python performance myths and fairy tales
#13Re: Python performance myths and fairy tales
#14Good job on dispelling the myth of "compiler = fast". I hope SPython will be able to transfer some of its ideas to CPython with time.
Re: Python performance myths and fairy tales
#15So we are paying 99% of the performance just for the 1% of cases where it's nice to code in. Why do people think it's a good trade-off?
Re: Python performance myths and fairy tales
#16The examples in the article seem gloomy: how could a JIT possibly do all the checks to make sure the arguments aren’t funky before adding them together, in a way that’s meaningfully better than just running the interpreter? But in practice, a JIT can create code that does these checks, and modern processors will branch-predict the happy path and effectively run it in parallel with the checks.
JavaScript, too, has complex prototype chains and common use of boxed objects - but v8 has made common use cases extremely fast. I’m excited for the future of Python.
Re: Python performance myths and fairy tales
#17Re: Python performance myths and fairy tales
#18So we are paying 99% of the performance just for the 1% of cases where it's nice to code in. Why do people think it's a good trade-off?
Re: Python performance myths and fairy tales
#19Good job on dispelling the myth of "compiler = fast". I hope SPython will be able to transfer some of its ideas to CPython with time.
Re: Python performance myths and fairy tales
#20I didn't read with 100% focus, but this lwn account of the talk seemed to confirm those myths instead of debunking.