Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-04 Thread Noufal Ibrahim
Senthil Kumaran sent...@uthcode.com writes: On Wed, Aug 03, 2011 at 03:05:47PM -0600, Gopalakrishnan Subramani wrote: Based on my understanding, I may not need PyPy for general programming and small websites experiments as of now. Just try it! Install pypy and symlink your

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-04 Thread Senthil Kumaran
On Thu, Aug 04, 2011 at 06:12:37PM +0530, Noufal Ibrahim wrote: Senthil Kumaran sent...@uthcode.com writes: Just try it! Install pypy and symlink your /usr/local/bin/python to pypy interpreter. The whole point is, you won't see the difference. Unless you use C extensions. :) Depends upon

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-04 Thread Gopalakrishnan Subramani
I want to tryout Tornado with MongoDB (AsyncMongo).. I would try pypy as a runtime. Thanks for explanation!! Thanks Regards, Gopal On Thu, Aug 4, 2011 at 6:57 AM, Senthil Kumaran sent...@uthcode.com wrote: On Thu, Aug 04, 2011 at 06:12:37PM +0530, Noufal Ibrahim wrote: Senthil Kumaran

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-04 Thread Baiju M
On Thu, Aug 4, 2011 at 6:12 PM, Noufal Ibrahim nou...@gmail.com wrote: Senthil Kumaran sent...@uthcode.com writes: On Wed, Aug 03, 2011 at 03:05:47PM -0600, Gopalakrishnan Subramani wrote: Based on my understanding, I may not need PyPy for general programming  and small websites experiments

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Anand Balachandran Pillai
On Wed, Aug 3, 2011 at 12:50 PM, Noufal Ibrahim nou...@gmail.com wrote: PyPy outperforms C in a little benchmark capitalising on gcc's inability to optimise across files. http://morepypy.blogspot.com/2011/08/pypy-is-faster-than-c-again-string.html Not sure if that is the only factor

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Noufal Ibrahim
Anand Balachandran Pillai abpil...@gmail.com writes: On Wed, Aug 3, 2011 at 12:50 PM, Noufal Ibrahim nou...@gmail.com wrote: PyPy outperforms C in a little benchmark capitalising on gcc's inability to optimise across files.

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Dhananjay Nene
On Wed, Aug 3, 2011 at 1:22 PM, Noufal Ibrahim nou...@gmail.com wrote: Anand Balachandran Pillai abpil...@gmail.com writes: On Wed, Aug 3, 2011 at 12:50 PM, Noufal Ibrahim nou...@gmail.com wrote: PyPy outperforms C in a little benchmark capitalising on gcc's inability to optimise across

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Gopalakrishnan Subramani
I could not understand the PyPy intention in having another run-time. Can we see having PyPy running Python programs, 1. As a challenge? (A language can have its own runtime with little improved performance) or 2. Potential for future to replace/co-exists CPython forever with strong community

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Dhananjay Nene
On Wed, Aug 3, 2011 at 9:58 PM, Gopalakrishnan Subramani gopalakrishnan.subram...@gmail.com wrote: I could not understand the PyPy intention in having another run-time. Can we see having PyPy running Python programs, 1.  As a challenge? (A language can have its own runtime with little

Re: [BangPypers] PyPy outperforms C in microbenchmark

2011-08-03 Thread Gopalakrishnan Subramani
Thanks Dhananjay for detailed explanation. I spent some more time googling and their website. Seems to be extended from Psyco project. Based on my understanding, I may not need PyPy for general programming and small websites experiments as of now. Thanks Regards, Gopal On Wed, Aug 3, 2011