Thanks, that does answer my questions.

I'm not an expert, but I did find the possibility of speeding up
python this much was an interesting one.

Let's hope they'll succeed, though I guess it may take them years. I
hope they are in it for the long run.

Bill.

On 28 Mar, 01:45, Carl Witty <carl.wi...@gmail.com> wrote:
> On Fri, Mar 27, 2009 at 4:35 PM, Bill Hart <goodwillh...@googlemail.com> 
> wrote:
>
> > Not to press the point, but isn't:
>
> > "Our long-term proposal is to replace CPython's custom virtual machine
> > with a JIT built on top of LLVM, while leaving the rest of the Python
> > runtime relatively intact."
>
> > the explanation of how they propose to get some speed out of it. In
> > other words they are using a technologically superior method of
> > interpreter operation. I'm interested to know if you have an opinion
> > on that.
>
> Well, just reading that paragraph isn't enough... replacing ceval.c
> with an LLVM-based JIT in a straightforward way should be more-or-less
> equivalent to Cython's performance on pure-Python code (that is, the
> speedup is much less than 2x).
>
> You really need type information to do much better; fortunately, they
> do plan to use type information (either using type annotations, or by
> guessing that the types will likely be the same every time the code is
> executed).
>
> I'm pretty sure that Javascript implementations have speed up by more
> than 5x in the last year; IMHO similar speedups should be possible for
> Python.  (Whether this is possible while remaining 100% compatible
> with current Python source and extension modules is another question.)
>
> Carl
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to