Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fijal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
361.
▲
by
fijal
14y ago
Working pypy was released before that. The first release that had a JIT that made stuff faster was released in 2010. So a lot of codebase is much older than that.
362.
▲
by
fijal
14y ago
I can't speak about the EU projects in general, but chances are we overdid it and it's not 100% clear if it increased or decreased our chances.
363.
▲
by
fijal
14y ago
#pypy on freenode. LLVM, JS and ctypes are scattered around mailing list posts as well (and blog posts).
364.
▲
by
fijal
14y ago
You should complain. There is a myriad of reasons why PyPy won't go very fast, for example you're using C extensions. Usually what happens if you have code where parts go insanely fast and parts go insanely slow. Once you identify it, somet
365.
▲
by
fijal
14y ago
Or you should use a fast Python interpreter instead of the slow one. The 20/80 (or 10/90 or so) is mostly nonsense in my experience too.
366.
▲
by
fijal
14y ago
[citation needed] You're mostly talking nonsense. PyPy is usually 20-100x faster on the numeric workloads I measured than CPython, while the difference is significantly smaller on non-numeric workloads. The difference between C++ and CPytho
367.
▲
by
fijal
14y ago
It's marketing bullshit. He probably wrote a statement in C++ and measured the time it takes to execute, I have no idea (also impossible to know what sort of statement). numbers suggest around 2% accuracy (7.1), that's pretty impressive giv
368.
▲
by
fijal
14y ago
Have you been to the kruger park? Do you have any idea how big it is? It's impossible to cover such areas on foot and poachers can move even by helicopters. Also if it continues like that, we'll be out of rhinos at some point soon, so no gu
369.
▲
by
fijal
14y ago
It means that resumes are more showing your writing skills than anything else. The claims there are essentially uncheckable.
370.
▲
by
fijal
14y ago
That's provably not true. Everything that concerns actual software (and not service!) is international by-default. That's my personal reason to hate services, they can be (and often are) discriminatory.
371.
▲
by
fijal
14y ago
I would honestly love to have a flag saying [US only, don't bother if you're not from there] on articles (like that one) EDIT: this is genuinely not a snarky comment, but this this company will likely go bankrupt before I could use it (for
372.
▲
by
fijal
14y ago
Oh, yes sorry, it was completely coincidental. It was correlated in time though.
373.
▲
by
fijal
14y ago
Seriously, computer language shootout is just harmful. Those benchmarks are bad (but it's unclear whether cross-language comparisons can get much better), implementations are worse. And on top of that it does not include opitmized VMs like
374.
▲
by
fijal
14y ago
Someone has to break it at some point. Making it live longer is not serving us any good. We would still be using primarily ALGOL, COBOL and Fortran 68 with this attitude
375.
▲
by
fijal
14y ago
See comments on the blog. Majority of work is not in xml parsing so lxml does not help (and you're crippled that the rest of the code does not run as fast).
376.
▲
by
fijal
14y ago
No, it's not good at all. Cache stalls can easily account for 1/2 of your processing time. On top of that you have CPU pipelining and multi-issue CPUs. It was a good idea a while ago, now it's really not that great.
377.
▲
by
fijal
14y ago
It's actually very likely I have to write it. I write compilers. Hence the hatred. I would seriously choose x86 ASM with all the backwards compatibility quirks going back to 80s any day.
378.
▲
by
fijal
14y ago
| Depends on what you need. Current asm.js can run Sauerbraten, a 100 KLOC complete game engine with physics, AI, rendering, world geometry system, scripting language - not JS! :) - , level file formats etc etc. It is also enough to run lar
379.
▲
by
fijal
14y ago
except it's work. and it's not that good usually because you end up manipulating Python objects anyway. It doesn't really work for anything that can't be represented as a tight semi-autonomous C code with limited connection to Python code.
380.
▲
by
fijal
14y ago
It's a very bad target for compilers too. Guys should just get their stuff together and write a reasonable bytecode format for browsers that is fast to read and verify. Would also save quite a bit of transfer. PS. If intel told me to do suc
381.
▲
by
fijal
14y ago
x | 0 as declaring int. +x as declaring float. Math.imul to multiply integers. seriously???!!! It took me roughly half an hour to decide whether it's an elaborate joke or an actual idea. Also javascript (without introducing new concepts) is
382.
▲
by
fijal
14y ago
PyPy does have a few knobs to tune, but they're not very often used (they're nicely documented, however mostly in the source code, I'll try to pull say GC parameters more prominently in the docs). However, the way you write python code ca
383.
▲
by
fijal
14y ago
That was "I agree with you" kind of no. English is hard, sorry.
384.
▲
by
fijal
14y ago
No. To be honest PyPy is very sensitive to cache usage, so running any other program trashing the cache might be a serious problem (can lead to 30% performance degradation, depending on the load even if the core is unoccuppied at all)
385.
▲
by
fijal
14y ago
you're just increasing the uncertanity, but not drastically so. If you use your laptop during benchmarks that show 10x improvement, then your thesis still stands
386.
▲
by
fijal
14y ago
That doesn't really answer why use the slowest one with PyPy (and no, uWSGI does not work for PyPy, but a lot of stuff does)
387.
▲
by
fijal
14y ago
He carefully chose to use a really bad combination for pypy (or uncarefully, always assume stupidity over malice). Fast options for PyPy are cyclone.io or tornado (or eventlet or gevent on a branch I'm working on, although it's not done).
388.
▲
Haskell implemented in RPython
(bitbucket.org)
5 points
by
fijal
14y ago
|
0 comments
389.
▲
by
fijal
14y ago
If you graduate in 2008 (at the age of 25 I presume) and you come with no professional experience (internships, work during school etc.) you're kind of asking for trouble. Also not that many people have the luxury to not work until 25, cons
390.
▲
by
fijal
14y ago
Cape Town, SA
More ›