Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92947
| From | BartC <bc@freeuk.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: HOPE: A Python just-in-time compiler for astrophysical computations |
| References | <mailman.664.1434846609.13271.python-list@python.org> |
| Message-ID | <2uvhx.910489$G53.315907@fx13.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2015-06-21 10:29 +0100 |
On 21/06/2015 01:29, Mark Lawrence wrote: > Another beasty I've just stumbled across which you may find interesting > http://www.sciencedirect.com/science/article/pii/S2213133714000687 Blimey, that's a lot of waffle in there, but I suppose that's to be expected from a published paper. I think the gist of it is, that you highlight specific Python functions that you need to be fast (add a decorator), then it tries to translate those into actual C++ by inferring types. All done transparently at runtime (although I imagine it would be hard to hide the huge machinery of a C++ compiler in action). The benchmarks seem to be individual functions which it presumably successfully translated fully into C++, so it is effectively comparing CPython to C++. It also puts in a good dig at PyPy by including one benchmark where it is 6 times as slow as CPython! It's not clear why it's particularly useful for astrophysics. -- Bartc
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
HOPE: A Python just-in-time compiler for astrophysical computations Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-21 01:29 +0100
Re: HOPE: A Python just-in-time compiler for astrophysical computations BartC <bc@freeuk.com> - 2015-06-21 10:29 +0100
Re: HOPE: A Python just-in-time compiler for astrophysical computations Laura Creighton <lac@openend.se> - 2015-06-21 15:43 +0200
Re: HOPE: A Python just-in-time compiler for astrophysical computations Laurent Pointal <laurent.pointal@free.fr> - 2015-06-23 18:53 +0200
Re: HOPE: A Python just-in-time compiler for astrophysical computations Michael Torrie <torriem@gmail.com> - 2015-06-26 11:32 -0600
Re: HOPE: A Python just-in-time compiler for astrophysical computations Stefan Behnel <stefan_ml@behnel.de> - 2015-06-28 09:31 +0200
Re: HOPE: A Python just-in-time compiler for astrophysical computations wxjmfauth@gmail.com - 2015-06-29 00:19 -0700
csiph-web