tag:blogger.com,1999:blog-3971202189709462152.post2559071147541131237..comments2015-07-19T06:39:30.841+02:00Comments on PyPy Status Blog: RPython can be faster than CCarl Friedrich Bolzhttp://www.blogger.com/profile/00518922641059511014noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-3971202189709462152.post-44426756778549970472010-09-01T16:12:16.853+02:002010-09-01T16:12:16.853+02:00&quot;Can you elaborate? &quot;RPython for Python ...&quot;Can you elaborate? &quot;RPython for Python programmers&quot; would be an excellent addition to the docs or this blog. :)&quot;<br /><br />+1 on this.<br /><br />Greetings from Brazil!Id Animae Mortalitashttp://www.blogger.com/profile/17406947672473620050noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-18840847926337677422009-10-15T06:25:46.911+02:002009-10-15T06:25:46.911+02:00How does RPython compare to Python Shedskin?How does RPython compare to Python Shedskin?Ariel Balterhttp://www.blogger.com/profile/04490446467353536658noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-59427201407978053872008-02-14T04:14:00.000+01:002008-02-14T04:14:00.000+01:00More objects != OO.Perhaps you meant to say that i...More objects != OO.<BR/><BR/>Perhaps you meant to say that it more closely reflects the domain?<BR/><BR/>No, I don't know how I ended up on this blog post.Sohail Somanihttp://www.blogger.com/profile/03265402500778681991noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-73392256917962163452008-01-28T21:18:00.000+01:002008-01-28T21:18:00.000+01:00Did you try any of the other computer language sho...Did you try any of the other computer language shootout benchmarks?Amundhttp://amundblog.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-38875252659190859042008-01-25T22:31:00.000+01:002008-01-25T22:31:00.000+01:00> Why would that be a flaw? Note: this is an adapt...> Why would that be a flaw? Note: this is an adaptation of a benchmark for testing GC<BR/><BR/>I know, but I realised it after posting :) (We even have original somewhere around to compare gcs). Also, honestly a lot of python versions rely on libraries written in C, hence it took me a while that is "pure enough".<BR/><BR/>> Once the RPython was translated to C by PyPy how did you compile the C?<BR/><BR/>With the very same options as bare gcc. -O3 -fomit-frame-pointerfijalhttp://www.blogger.com/profile/11410841070239382771noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-6789188307292929002008-01-25T22:03:00.000+01:002008-01-25T22:03:00.000+01:00Once the RPython was translated to C by PyPy how d...Once the RPython was translated to C by PyPy how did you compile the C?Joshhttp://www.blogger.com/profile/09406482527272459944noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-44136978066779998242008-01-25T18:11:00.000+01:002008-01-25T18:11:00.000+01:00"Also the benchmark is very likely flawed because ...<EM>"Also the benchmark is very likely flawed because it favours better GCs :)"</EM><BR/><BR/>Why would that be a flaw? <A HREF="http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=binarytrees&lang=all#about" REL="nofollow">Note: this is an adaptation of a benchmark for testing GC</A><BR/><BR/><BR/>Leonardo Santagada said <EM>"Why not ask for the great computer language shootout to include RPython ..."</EM><BR/><BR/><A HREF="http://shootout.alioth.debian.org/gp4sandbox/faq.php#acceptable" REL="nofollow">FAQ Why don't you include language X?</A>Isaac Gouyhttp://www.blogger.com/profile/02902123247585964087noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-12888001532069523972008-01-22T23:21:00.000+01:002008-01-22T23:21:00.000+01:00This comment has been removed by the author.ravi chemuduguntahttp://www.blogger.com/profile/14897990368429845734noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-736232581636921132008-01-21T22:17:00.000+01:002008-01-21T22:17:00.000+01:00I think a lot of people are interested in using RP...I think a lot of people are interested in using RPython for performance reasons. But about nobody will leave CPython atm, because extension modules are not working.<BR/><BR/>At the moment, I wouldn't leave CPython since all I am doing is heavily based on scipy. And so my only option is (a) to wait PyPy being able to compile extensions for CPython or (b) PyPy making use of CPython extensions.<BR/><BR/>As long as this is not going to happen, I probably will not use RPython for serious projects. :/Justinhttp://www.blogger.com/profile/04972102120598633110noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-50406364420728631172008-01-21T19:06:00.000+01:002008-01-21T19:06:00.000+01:00I would also say nowadays it's already possible to...I would also say nowadays it's already possible to write extension modules in RPython... but just for PyPy, now for CPython :-).<BR/><BR/>Jokes apart, if someone is really interested in writing part of its application in RPython (despite our warnings :-)), targeting PyPy could be an interesting alternative, as long as you don't need external libraries and the speed gain is more than what you loose in other areas where PyPy is actually slower.Antonio Cunihttp://www.blogger.com/profile/17017456817083804792noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-16790570193801308912008-01-21T18:06:00.000+01:002008-01-21T18:06:00.000+01:00Hi Michael,Leonardo is correct, the extension comp...Hi Michael,<BR/><BR/>Leonardo is correct, the extension compiler was removed from SVN in November. We had many discussions about this step, but eventually it turned out to be necessary for many reasons. The extcompiler never was that useful in the first place because the produced extensions weren't fast (one of the reasons being the bad refcounting indeed).<BR/><BR/>The other reasons were that the extcompiler was impossible to maintain and was actually <I>preventing</I> progress, because it kept code alive that we wanted to get rid off.<BR/><BR/>So at the moment you cannot use PyPy any more to produce CPython extensions, only standalone programs.<BR/><BR/>It's completely possible that the extcompiler will be reborn in the future, but at the moment our priorities are really to make PyPy a good Python and not do tons of things on the side.<BR/><BR/>Cheers,<BR/><BR/>Carl FriedrichCarl Friedrich Bolzhttp://www.blogger.com/profile/00518922641059511014noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-48039155536685609052008-01-21T17:55:00.000+01:002008-01-21T17:55:00.000+01:00mmm0.4242The answer...mmm<BR/>0.42<BR/>42<BR/>The answer...Silveira Netohttp://www.blogger.com/profile/00836174082059637734noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-68786204045844931382008-01-21T17:20:00.000+01:002008-01-21T17:20:00.000+01:00As of today you can't write CPython extensions in ...As of today you can't write CPython extensions in RPython.<BR/><BR/>Why not ask for the great computer language shootout to include RPython as one of their benchmarking languages? This could be a good and free advertising for the pypy project.Leonardo Santagadahttp://www.blogger.com/profile/01169581670273063873noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-18661937355944876452008-01-21T17:14:00.000+01:002008-01-21T17:14:00.000+01:00I agree with Jonathan. There are many Python progr...I agree with Jonathan. There are many Python programmers who would *love* to be able to write Python extensions with RPython.<BR/><BR/>I know that this is already possible, but there are two issues:<BR/><BR/>* Lack of documentation on programming with RPython (I realise that this is a moving target)<BR/>* Last I heard, the refcounting implementation made RPython extensions inefficient<BR/><BR/>If these two issues were resolved (or mostly resolved) then a lot more people might start using the PyPy toolchain.<BR/><BR/>Asides from my growsing, it looks like PyPy is becoming more impressive by the day. Congratulations.Fuzzymanhttp://www.blogger.com/profile/06229713779852499022noreply@blogger.comtag:blogger.com,1999:blog-3971202189709462152.post-22334681574821786412008-01-21T17:02:00.000+01:002008-01-21T17:02:00.000+01:00"It requires a completely different mindset than t..."It requires a completely different mindset than the one used to program in Python."<BR/><BR/>Can you elaborate? "RPython for Python programmers" would be an excellent addition to the docs or this blog. :)Jonathan Ellishttp://www.blogger.com/profile/11003648392946638242noreply@blogger.com