Live data from Hacker News

PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

morepypy.blogspot.com

61–70 of 150 posts

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#61
post #22

Earlier quoted context omitted.

The value of PyPy is that it is a thing you can just drop in to make your code faster. If PyPy wants to gain any traction they pretty much have to concentrate on the version with the most existing code.

most of my existing production code is 3.4, hence my question.

I'm/we are also moving everything to 3.4, since we want all the nice things.

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#62
post #41
post #8

Earlier quoted context omitted.

> But bottom line, tons of python code out there needs more performance and has no dependency on numpy or any C extensions. What they need is nice JIT engines like PyPy and not to switch languages. If no one invested in improving implementations for modern languages and switched to something lower level all the time, we would still be using Fortran for business applications.

We still are using FORTRAN for Business Applications and I fail to see the need to switch them to a slower language to modernize them. Unless the switch is solving a program leave them alone. This is why in R there is still plenty of FORTRAN code. Personally I LOVE Python but I always feel it is the 2nd best choice. I do use Python but it rarely is the best tool to use for the problem you are solving. Maybe Pypy will…

How can SciPy be fast if it is written in an interpreted language like Python?

Actually, the time-critical loops are usually implemented in C or Fortran. Much of SciPy is a thin layer of code on top of the scientific routines that are freely available at http://www.netlib.org/. Netlib is a huge repository of incredibly valuable and robust scientific algorithms written in C and Fortran. It would be silly to rewrite these algorithms and would take years to debug them. SciPy uses a variety of methods to generate “wrappers” around these algorithms so that they can be used in Python. Some wrappers were generated by hand coding them in C. The rest were generated using either SWIG or f2py. Some of the newer contributions to SciPy are either written entirely or wrapped with Cython.

A second answer is that for difficult problems, a better algorithm can make a tremendous difference in the time it takes to solve a problem. So using scipy’s built-in algorithms may be much faster than a simple algorithm coded in C.

http://www.scipy.org/scipylib/faq.html#how-can-scipy-be-fast...

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#63

> We would also like to thank our contributors (7 new ones since PyPy 2.6.0) and encourage new people to join the project. PyPy has many layers and we need help with all of them This doesn't match my experience of the PyPy project. I found a tiny bug in the stdlib matching against CPython, went into IRC to ask a question about test running to be sure I got it right and was quickly engaged in conversation about why I…

On the flip side of this thread, some projects have started to adopt specific tagging in their issue systems for folks looking to get started as contributors. I really like this as it's clear communication to both new contributors and to existing contributors that the issue in question is an on-ramp for the project.

Here's Neovim's "entry-level" label, for example:

https://github.com/neovim/neovim/issues?q=is%3Aopen+is%3Aiss...

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#64

Earlier quoted context omitted.

Personally I'd be quite excited to see a bug I reported fixed the same-day - of course people's expectations are different it's not always easy to balance these things.

I can understand that, I certainly would have been stoked about a bug report being fixed on the same day; I hadn't reported the bug though. I was working on providing a bug report with a patch alongside it and (perhaps foolishly) mentioned the bug informally as context as to why I was doing this.

> I hadn't reported the bug though.

I don't think its reasonable to expect a projects core developers, when they become aware of a bug through mechanisms other than formal bug reports, to deliberately stall confirming and resolving the problem because the person raising the issue is entitled to a crack at fixing it.

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#65
post #7

python 3.4 please ;_;

I too want 3.3+ support but I know some claim that there's very little demand from people actually doing something with PyPy for Python 3 support. I really think it may be a chicken and egg problem: that is, support will generate demand.

In any case the 3.3 branch seemed good when I compiled it last, it'd be nice to see a partial release.

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#66

> We would also like to thank our contributors (7 new ones since PyPy 2.6.0) and encourage new people to join the project. PyPy has many layers and we need help with all of them This doesn't match my experience of the PyPy project. I found a tiny bug in the stdlib matching against CPython, went into IRC to ask a question about test running to be sure I got it right and was quickly engaged in conversation about why I…

On the flip side of this thread, some projects have started to adopt specific tagging in their issue systems for folks looking to get started as contributors. I really like this as it's clear communication to both new contributors and to existing contributors that the issue in question is an on-ramp for the project. Here's Neovim's "entry-level" label, for example: https://github.com/neovim/neovim/issues?q=is%3Aopen+…

As another example it seems that Rust does the same:

https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais...

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#67

Earlier quoted context omitted.

Personally I'd be quite excited to see a bug I reported fixed the same-day - of course people's expectations are different it's not always easy to balance these things.

One of the rewards of participating in OSS is to make your name visible, this can then be used as creds to gain commit rights or to talk at conferences as well as proof of competence when looking for a job. Interestingly, I've had the same experience when reporting and asking how to contribute to Python 3, not by a core dev but somebody "stealing" my bug and quickly submitting a patch!

The open source community is not there to provide you with cred and visibility. It's there to so software can be developed in a way that certain people think is the best way to develop software.

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#68

Earlier quoted context omitted.

I can understand that, I certainly would have been stoked about a bug report being fixed on the same day; I hadn't reported the bug though. I was working on providing a bug report with a patch alongside it and (perhaps foolishly) mentioned the bug informally as context as to why I was doing this.

> I hadn't reported the bug though. I don't think its reasonable to expect a projects core developers, when they become aware of a bug through mechanisms other than formal bug reports, to deliberately stall confirming and resolving the problem because the person raising the issue is entitled to a crack at fixing it.

You can do something correct and still be discouraging to people who would like to contribute.

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#69
post #12

Earlier quoted context omitted.

Is this a complaint or a compliment to the developers?

He didn't want to report a bug, he wanted to contribute to the project. I can think of a few reasons why. They lost a new potential committer by "being pragmatic" about it, but ignoring inter-personal relationships, like so often.

How is reporting a bug not a contribution? Now, I don't know about this particular bug, but in most cases finding the bug is where the work is. Checking in the fix is trivial.

Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More

#70
post #41

Earlier quoted context omitted.

We still are using FORTRAN for Business Applications and I fail to see the need to switch them to a slower language to modernize them. Unless the switch is solving a program leave them alone. This is why in R there is still plenty of FORTRAN code. Personally I LOVE Python but I always feel it is the 2nd best choice. I do use Python but it rarely is the best tool to use for the problem you are solving. Maybe Pypy will…

R != Business Application.

Used R as an example of a language that still uses FORTRAN. BUT I think Microsoft and Business Analysis people would not agree with you.
Post reply on HN