tag:blogger.com,1999:blog-3971202189709462152.post3874568000250679204..comments2024-03-11T12:50:02.036+01:00Comments on PyPy Status Blog: US Trip Report: POPL, Microsoft, IBMCarl Friedrich Bolz-Tereickhttp://www.blogger.com/profile/00518922641059511014noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3971202189709462152.post-18472229297040127902011-03-11T00:15:17.308+01:002011-03-11T00:15:17.308+01:00to me it seems like you have reached the goals of ...to me it seems like you have reached the goals of unladen swallow and unladen swallow was a bit of a failure?<br /><br />if google wants a faster python, why don't they fund you? it would be awesome if the core team could work on it full-time. :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-32892448625908682482011-03-08T17:21:24.224+01:002011-03-08T17:21:24.224+01:00Hi Ivan.
Shootout is not good because it contains...Hi Ivan.<br /><br />Shootout is not good because it contains heavily tuned programs, some of them even massively stretching the benchmark restrictions. They're tailored towards specific implementations, contain specific per-benchmark options etc. Nobody looked at python programs at detail and especially from PyPy perspective. This would need to be done first to compare those fairly, until it's not done, it's comparing naive version to a heavily optimized one and not comparing languages.<br /><br />From what I measured roughly PyPy comes on par with tracemonkey and about 2x slower V8. But those were very unscientific experiments and I'll deny everything :)<br /><br />I don't think there is any good cross-language comparison and that's at least partly due to the fact that workloads differ in different languages. Most shootout programs for example are tailored towards C workloads. Optimizing precisely for them (even if you have a good programs) is kind of fun, but it does not represent what we try to achieve, that is speeding up large python programs.<br /><br />I hope this answers your question.<br /><br />Cheers,<br />fijalMaciej Fijalkowskihttps://www.blogger.com/profile/11410841070239382771noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-51292697462785968192011-03-08T17:10:32.303+01:002011-03-08T17:10:32.303+01:00Hi Fijall,
I'm afraid I don't know about ...Hi Fijall,<br /><br />I'm afraid I don't know about benchmarks and comparison between these languages, other than the shootout. I guess this is the first reference someone gets when comparing languages, since it's the most popular out there.<br /><br />But it would be great if there was a resource to compare against other languages. At least, from a marketing point of view, it would be very good for pypy.<br /><br />May I know why the shootout is not a good parameter?<br /><br />And, is there any other benchmarks comparing pypy against v8, tracemonkey/jägermonkey, etc..?Ivannoreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-18726997366164500792011-03-08T14:59:10.383+01:002011-03-08T14:59:10.383+01:00Hi Ivan.
In general I don't think there are l...Hi Ivan.<br /><br />In general I don't think there are limits of approach other than say time and money. Python is a complex language.<br /><br />Can you come up with an example where PyPy is actually slower than V8 *other* than computer language shootout? Programs on computer language shootout are just not nicely optimized for PyPy.Maciej Fijalkowskihttps://www.blogger.com/profile/11410841070239382771noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-39390363630123568152011-03-07T21:36:05.944+01:002011-03-07T21:36:05.944+01:00I find this project fascinating.
I wonder what...I find this project fascinating.<br /><br />I wonder what's the theoretical limit of this approach for improving the performance of python (or any other language implemented in pypy)?<br /><br />Do you have any rought estimation on how far you can go? Have you reached a limit or you are just scratching the possibilities?<br /><br />For example, do you think you can compete with javascript v8 or luajit?Ivannoreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-24099754524202598802011-03-05T15:04:24.980+01:002011-03-05T15:04:24.980+01:00Thanks for the interesting overview of your travel...Thanks for the interesting overview of your travels and research interactions! I i agree that getting better and more systematic benchmarks for Python would be worthwhile.holger krekelhttps://www.blogger.com/profile/00985924698593515074noreply@blogger.com