Numpy Status Update
Hello Everyone,
I've started to work on NumPyPy since the end of April and here is a short update :
- I implemented pickling support on ndarrays and dtypes, it will be compatible with numpy's pickling protocol when the "numpypy" module will be renamed to "numpy".
- I am now working on subarrays.
I would also like to thank everyone who donated and allowed me to work on this.
Cheers,
Romain Guillebert
The PyPy blogposts
Create a guest post via a PR to the source repo
Recent Posts
- Guest Post: Final Encoding in RPython Interpreters
- A DSL for Peephole Transformation Rules of Integer Operations in the PyPy JIT
- Guest Post: How PortaOne uses PyPy for high-performance processing, connecting over 1B of phone calls every month
- PyPy v7.3.17 release
- Conda-forge proposes sunsetting support for PyPy
- A Knownbits Abstract Domain for the Toy Optimizer, Correctly
- Abstract interpretation in the Toy Optimizer
- Mining JIT traces for missing optimizations with Z3
- Finding Simple Rewrite Rules for the JIT with Z3
- Profiling PyPy using the Firefox profiler user interface
Archives
Tags
- arm (2)
- casestudy (3)
- cli (1)
- compiler (1)
- conda-forge (1)
- cpyext (4)
- CPython (3)
- ep2008 (1)
- extension modules (3)
- gc (1)
- guestpost (2)
- GraalPython (1)
- hpy (1)
- Heptapod (1)
- jit (23)
- jython (1)
- kcachegrind (1)
- meta (1)
- numpy (24)
- parser (1)
- performance (2)
- profiling (4)
- pypy (6)
- pypy3 (16)
- PyQt4 (1)
- release (62)
- releasecffi (3)
- releaserevdb (1)
- releasestm (1)
- revdb (1)
- roadmap (2)
- RPyC (1)
- speed (6)
- sponsors (7)
- sprint (3)
- sprints (1)
- stm (14)
- sun (1)
- Smalltalk (1)
- Squeak (1)
- testing (1)
- toy-optimizer (4)
- unicode (1)
- valgrind (1)
- z3 (5)
Comments
No, thank you! Cannot wait till the day PyPy fully supports NumPy.
I second the anonymous comment above. The day PyPy fully supports NumPy is the day I switch from CPython.
Aww... Anonymous.
@Romain Guillebert Thank you for the hard work you are putting into it. I will be testing my code with the current release.
This (and to a lesser extent Python 3 support) is the only thing holding me back from switching to PyPy for all of my python programming. Thank you very much for this fantastic project!
Results from running my own little Benchmark: Labyrinth Generator
Array Size: 77711x711:
C-Code:
4.45 Seconds, ~50M Memory Usage.
Pypy with standard List:
14.5 Seconds, ~750M Memory Usage.
Pypy with Numpypy:
11.0 Seconds, ~78M Memory Usage.
Pretty impressive if you ask me. Older Numpypy where about as fast as the standard List. Also Pypy is approaching C-Performance with bigger steps than I dared hoping for.
CPython Benchmark intentionally left out... it takes ages.
It's great to see a progress in important libraries support.
Speed is important, but when we get acceptable speed then library support is what we need.