Re: [pypy-dev] Differences performance Julia / PyPy on very similar codes

2020-12-18 Thread David Edelsohn
Does Julia based on LLVM auto-vectorize the code? I assume yes because you specifically mention SIMD design of the data structure. Have you tried NumPyPy? Development on NumPyPy has not continued, but it probably would be a better comparison of what PyPy with auto-vectorization could accomplish

[pypy-dev] Differences performance Julia / PyPy on very similar codes

2020-12-18 Thread PIERRE AUGIER
Hi, I post on this list a message written in PyPy issue tracker (https://foss.heptapod.net/pypy/pypy/-/issues/3349#note_150255). It is about some experiments I did on writing efficient implementations of the NBody problem https://github.com/paugier/nbabel to potentially answer to this article

Re: [pypy-dev] Contributing Polyhedral Optimisations in PyPy

2020-12-18 Thread muke101 via pypy-dev
Thanks both of you for getting back to me, these definitely seem like problems worth thinking about first. Looking into it, there has actually been some research already on implementing Polyhedral optimisations in a JIT optimiser, specifically in JavaScript. It's paper

Re: [pypy-dev] Contributing Polyhedral Optimisations in PyPy

2020-12-18 Thread Armin Rigo
Hi, On Thu, 17 Dec 2020 at 23:48, William ML Leslie wrote: > The challenge with implementing this in the pypy JIT at this point is > that the JIT only sees one control flow path. That is, one loop, and > the branches taken within that loop. It does not find out about the > outer loop usually