Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
mattip
3y ago
Would love to hear more. Is it still being used?
32.
▲
by
mattip
3y ago
If you find your bottlenecks in SciPy or Numpy, then PyPy will not help. Those are primarily written in C, so the PyPy JIT cannot peer inside and do any magic.
33.
▲
by
mattip
3y ago
Would love to hear more. You can reach us with any of these methods https://www.pypy.org/contact.html
34.
▲
by
mattip
3y ago
You're welcome, thanks for sharing. Do you have any numbers about speed vs. an alternative?
35.
▲
by
mattip
3y ago
There is significant cooperation between the two. When porting PyPy to a new Python version, we examine what changes CPython made. And CPython core developers are aware of PyPy. The main obstacle is developer time. CPython has to be very ca
36.
▲
by
mattip
3y ago
You can comment on our blog, or open an issue. Frankly, we get so little feedback that dealing with new issues is not a hassle.
37.
▲
by
mattip
3y ago
Cool. Yes, I am interested in hearing more.
38.
▲
by
mattip
3y ago
Cool. Would love to hear more about the successes and problems, or even get a guest blog post on https://www.pypy.org/blog/
39.
▲
by
mattip
3y ago
Lots of questions :) For c-extensions see https://www.pypy.org/posts/2018/09/inside-cpyext-why-emulati... We would like to be able to "just JIT" better. But for that we need feedback about what is s
40.
▲
by
mattip
3y ago
Thanks, that should have been https://mssun.github.io/rpython-by-example/index.html . Fixing.
41.
▲
by
mattip
3y ago
Thanks for the feedback. It does seem like parsing logs and simulations is a sweet spot for PyPy
42.
▲
by
mattip
3y ago
Interesting. I was under the impression PyPy did not do so well with SymPy because the dynamic code paths are difficult to JIT. What kind tasks waw a speed up?
43.
▲
by
mattip
3y ago
It is much easier to embed CPython, PyPy can only be embedded via CFFI [0]. [0] https://cffi.readthedocs.io/en/latest/embedding.html
44.
▲
by
mattip
3y ago
Python 3.10 is too old for your work?
45.
▲
by
mattip
3y ago
You're welcome. > that rely on incompatible extensions. Which ones? Is using conda an option, we have more luck getting binary packages into their build pipelines than getting projects to build wheels for PyPI
46.
▲
by
mattip
3y ago
It supports Python3.10 now too. Thanks, I updated the site.
47.
▲
by
mattip
3y ago
> it's probably all about string index into dict and dict management Cool. Is the performance here something you would like to pursue? If so could you open an issue [0] with some kind of reproducer? [0] https://foss.hepta
48.
▲
by
mattip
3y ago
Thanks, that is hopeful, although quite a while ago.
49.
▲
by
mattip
3y ago
Is your group still using it?
50.
▲
Ask HN: Is anyone using PyPy for real work?
573 points
by
mattip
3y ago
|
180 comments
51.
▲
by
mattip
3y ago
Here ya go. On these sometimes one is faster, sometimes the other. https://github.com/kostya/jit-benchmarks/blob/master/README.... Personally i don’t like such comparisons. Benchmarking is hard and far f
52.
▲
by
mattip
3y ago
I am glad you find PyPy useful. The good news is exactly the boring consistency with which we have been able, on a volunteer basis, to stay pretty close to CPython progress. There are no big challenges there, it is work at the top layer of
53.
▲
by
mattip
3y ago
PyPy is still around. We released a Python3.10 version last month. What else would you like to hear about?
54.
▲
by
mattip
3y ago
There is heptaood, https://heptapod.net/ , a friendly fork of gitlab that supports mercurial. PyPy and others are using the free instance at https://foss.heptapod.net/public
55.
▲
by
mattip
3y ago
Sure but this begs the point of what happens if the underlying ISA model changes. For both the C and RPython generated emulators, they build from source so they can regenerate in minimal developer time. For the Spice or qemu based emulators
56.
▲
by
mattip
3y ago
RPython is a limited Python subset that can be compiled to C. It provides a meta-JIT and a garbage collector for interpreters built on top of it.
57.
▲
RPython-based emulator speeds up RISC-V simulation over 15x
(pypy.org)
5 points
by
mattip
3y ago
|
4 comments
58.
▲
by
mattip
4y ago
While RPython is a restricted version of python used to build the PyPy python interpreters, the interpreters themselves are not restricted. Any deviation from CPython behavior, intended or not, is considered a bug. So Codon should be compar
59.
▲
by
mattip
4y ago
> You see this with Opensource too I think it depends what project you want to interact with. In the projects I am involved in (Python, Numpy, SciPy, Cython, PyPy) you will get a response from a core dev quite quickly.
60.
▲
by
mattip
4y ago
Isn’t number of commits a very weak measure of activity? All these metrics depend greatly on the size and maturity of a project, the base language the majority of code is written in, and the culture of the company or community behind the pr
More ›