Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-18 Thread Bengt Richter
On 10/17/2011 01:26 PM Alex Gaynor wrote: On Mon, Oct 17, 2011 at 6:12 AM, Bengt Richter wrote: On 10/17/2011 12:10 AM Armin Rigo wrote: Hi, On Sun, Oct 16, 2011 at 23:41, David Cournapeau wrote: Interesting to know. But then, wouldn't this limit the speed gains to be expected from the

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-17 Thread Alex Gaynor
On Mon, Oct 17, 2011 at 6:12 AM, Bengt Richter wrote: > On 10/17/2011 12:10 AM Armin Rigo wrote: > >> Hi, >> >> On Sun, Oct 16, 2011 at 23:41, David Cournapeau >> wrote: >> >>> Interesting to know. But then, wouldn't this limit the speed gains to >>> be expected from the JIT ? >>> >> >> Yes, to

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-17 Thread Bengt Richter
On 10/17/2011 12:10 AM Armin Rigo wrote: Hi, On Sun, Oct 16, 2011 at 23:41, David Cournapeau wrote: Interesting to know. But then, wouldn't this limit the speed gains to be expected from the JIT ? Yes, to some extent. It cannot give you the last bit of performance improvements you could exp

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-17 Thread Maciej Fijalkowski
On Mon, Oct 17, 2011 at 10:16 AM, Stefan Behnel wrote: > Maciej Fijalkowski, 17.10.2011 09:34: >> >> On Mon, Oct 17, 2011 at 12:10 AM, Armin Rigo wrote: >>> >>> On Sun, Oct 16, 2011 at 23:41, David Cournapeau wrote: Interesting to know. But then, wouldn't this limit the speed gains to >>

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-17 Thread Stefan Behnel
Maciej Fijalkowski, 17.10.2011 09:34: On Mon, Oct 17, 2011 at 12:10 AM, Armin Rigo wrote: On Sun, Oct 16, 2011 at 23:41, David Cournapeau wrote: Interesting to know. But then, wouldn't this limit the speed gains to be expected from the JIT ? Yes, to some extent. It cannot give you the last b

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-17 Thread Maciej Fijalkowski
On Mon, Oct 17, 2011 at 12:10 AM, Armin Rigo wrote: > Hi, > > On Sun, Oct 16, 2011 at 23:41, David Cournapeau wrote: >> Interesting to know. But then, wouldn't this limit the speed gains to >> be expected from the JIT ? > > Yes, to some extent.  It cannot give you the last bit of performance > im

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread David Cournapeau
On Sun, Oct 16, 2011 at 10:21 PM, Armin Rigo wrote: > Hi David, > > On Sun, Oct 16, 2011 at 19:13, David Cournapeau wrote: >> (...) and there is also the issue >> of correctness in floating point code generation. Given that >> decade-old compilers get it wrong, I would expect pypy jit to have >>

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Armin Rigo
Hi, On Sun, Oct 16, 2011 at 23:41, David Cournapeau wrote: > Interesting to know. But then, wouldn't this limit the speed gains to > be expected from the JIT ? Yes, to some extent. It cannot give you the last bit of performance improvements you could expect from arithmetic optimizations, but (a

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Alex Gaynor
On Sun, Oct 16, 2011 at 5:21 PM, Armin Rigo wrote: > Hi David, > > On Sun, Oct 16, 2011 at 19:13, David Cournapeau > wrote: > > (...) and there is also the issue > > of correctness in floating point code generation. Given that > > decade-old compilers get it wrong, I would expect pypy jit to hav

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Armin Rigo
Hi David, On Sun, Oct 16, 2011 at 19:13, David Cournapeau wrote: > (...) and there is also the issue > of correctness in floating point code generation. Given that > decade-old compilers get it wrong, I would expect pypy jit to have > quite a few funky corner cases as well. No, we should not hav

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread David Cournapeau
On Sun, Oct 16, 2011 at 5:34 PM, Stefan Behnel wrote: > > I wasn't comparing a JIT to another compiler. I was comparing it to a human > programmer. A JIT, just like any other compiler, will never be able to > *understand* the code it compiles, and it can only apply the optimisations > that it was

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Stefan Behnel
Maciej Fijalkowski, 16.10.2011 20:01: On Sun, Oct 16, 2011 at 6:34 PM, Stefan Behnel wrote: Maciej Fijalkowski, 16.10.2011 17:50: We have proven already that we can perform several optimizations that are very hard to perform at the C level. And indeed, while you can always argue "well, you can

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Alex Gaynor
On Sun, Oct 16, 2011 at 2:03 PM, Maciej Fijalkowski wrote: > On Sun, Oct 16, 2011 at 6:41 PM, Samuel Vaiter > wrote: > > Hi, > > > > Thanks for you answer. > > > >> Yes, there are definitely small things that you can work on. > >> > >> A good start would be to pick a missing feature from numpy an

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Maciej Fijalkowski
On Sun, Oct 16, 2011 at 6:41 PM, Samuel Vaiter wrote: > Hi, > > Thanks for you answer. > >> Yes, there are definitely small things that you can work on. >> >> A good start would be to pick a missing feature from numpy and start >> implementing it. There is usually someone on IRC who can help if yo

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Maciej Fijalkowski
On Sun, Oct 16, 2011 at 6:34 PM, Stefan Behnel wrote: > Maciej Fijalkowski, 16.10.2011 17:50: >> >> On Sun, Oct 16, 2011 at 2:29 PM, Stefan Behnel wrote >>> >>> Samuel Vaiter, 14.10.2011 17:59: The main reason why Numpy is my main interest is that as Ph.D student in Applied Mat

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Samuel Vaiter
Hi, Thanks for you answer. > Yes, there are definitely small things that you can work on. > > A good start would be to pick a missing feature from numpy and start > implementing it. There is usually someone on IRC who can help if you > have some immediate questions. > > Do you want me to find you

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Stefan Behnel
Maciej Fijalkowski, 16.10.2011 17:50: On Sun, Oct 16, 2011 at 2:29 PM, Stefan Behnel wrote Samuel Vaiter, 14.10.2011 17:59: The main reason why Numpy is my main interest is that as Ph.D student in Applied Mathematics, I really hope one day we will be able to perform numerical computation withou

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Alex Gaynor
On Sun, Oct 16, 2011 at 11:50 AM, Maciej Fijalkowski wrote: > On Sun, Oct 16, 2011 at 2:29 PM, Stefan Behnel wrote > > Samuel Vaiter, 14.10.2011 17:59: > >> > >> The main > >> reason why Numpy is my main interest is that as Ph.D student in > >> Applied Mathematics, I really hope one day we will b

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Maciej Fijalkowski
On Sun, Oct 16, 2011 at 2:29 PM, Stefan Behnel wrote > Samuel Vaiter, 14.10.2011 17:59: >> >> The main >> reason why Numpy is my main interest is that as Ph.D student in >> Applied Mathematics, I really hope one day we will be able to perform >> numerical computation without using heavy binding in

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Stefan Behnel
Samuel Vaiter, 14.10.2011 17:59: The main reason why Numpy is my main interest is that as Ph.D student in Applied Mathematics, I really hope one day we will be able to perform numerical computation without using heavy binding in C/Fortran or intermediate solution like Cython. I guess you didn't

Re: [pypy-dev] Contributing to pypy [especially numpy]

2011-10-16 Thread Maciej Fijalkowski
On Fri, Oct 14, 2011 at 5:59 PM, Samuel Vaiter wrote: > Hi, > > I am willing to contribute to PyPy, especially on Numpy port. The main > reason why Numpy is my main interest is that as Ph.D student in > Applied Mathematics, I really hope one day we will be able to perform > numerical computation w

[pypy-dev] Contributing to pypy [especially numpy]

2011-10-14 Thread Samuel Vaiter
Hi, I am willing to contribute to PyPy, especially on Numpy port. The main reason why Numpy is my main interest is that as Ph.D student in Applied Mathematics, I really hope one day we will be able to perform numerical computation without using heavy binding in C/Fortran or intermediate solution l