Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fijal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
fijal
11y ago
Do you find it equally immoral not to pay/donate for all the open source that you use?
182.
▲
by
fijal
11y ago
Did the authors never meet any professional athletes? If you do any sort of sport (actual physical sport) on a competitive level, even in a local league, you do get hurt. And you work through your injuries and you keep training.
183.
▲
by
fijal
11y ago
it's a factor of two without thinking too hard. You can probably optimize it for pypy too which will get you more benefit. If it's "just" dict lookups there is not really all that much there is to win using cython for ex
184.
▲
by
fijal
11y ago
to answer just one aspect of your post - I have absolutely nothing against python 3 as a language :-)
185.
▲
by
fijal
11y ago
And this sort of attitude is exactly why I hate Python 3 personally. "Work for free on Python 3 adoption or you're harming the Python community".
186.
▲
by
fijal
11y ago
So it's very hard to get all PyPy devs to focus on Python 3.3. Money can change the direction, but there are also features that are important to us, like warmup time and STM that we don't want to give up for 3.3. Additionally, 3.3
187.
▲
by
fijal
11y ago
If you measure across those benchmarks, it indeed plateus. However, we've been doing a lot of work on stuff that's not taken into the account to the average, notably: * external calls (IO, cffi, etc.) * warmup speed * STM * tons o
188.
▲
by
fijal
11y ago
agreed that most immigration laws are stupid and annoying, but yet US is particularly bad. They're thorough, picky and the requirements are really high. It's also quite expensive
189.
▲
by
fijal
11y ago
You can't cache JITted code (so JIT produced by pypy.js) because it'll be different each time.
190.
▲
by
fijal
11y ago
So look. PyPy compiles bits and pieces of code generating assembler. This assembler then gets to be turned into Javascript (asm.js) which needs to be parsed and compiled. All of this happens at runtime and while you can technically call the
191.
▲
by
fijal
11y ago
I believe this only addresses the download size and not the crazy warmup (you still reparse it etc.)
192.
▲
by
fijal
11y ago
No, because it's "AOT" compiled when it's downloaded or executed (since you have one JIT, you can't AOT compile what it produces). So you can think about it as "just" one JIT, but a very inefficient one
193.
▲
by
fijal
11y ago
it's systematically translating the PyPy interpreter to the Javascript, so it has to get semantics right. However I'm not sure if the drawbacks can be addressed in the current JS model, notably: very slow warmup, huge download s
194.
▲
by
fijal
11y ago
can you please provide me the data in somehow reproducible form (I have no clue how to use all the tools you mentioned for example), ideally as a .tar.bz2 file somewhere I can download and run without any prior knowledge. I'm happy to
195.
▲
by
fijal
11y ago
[citation needed]. In the minute or so of idle browsing I did not find that claim on their website nor a claim how much python they actually implement.
196.
▲
by
fijal
11y ago
Your benchmark is terrible - it's impossible to run it because you don't provide a dataset that you used (or I'm missing some description). It also stresses one aspect of the language (processing strings, in a very specific w
197.
▲
by
fijal
12y ago
Well, dropbox, uber etc. are called startups too. Maybe there is a massive word abuse, but it's not only about france :-)
198.
▲
by
fijal
12y ago
Other than blablacar, EVERYTHING in that list is about either entertainment or solving non-existing issues for privilaged class (like organizing URLs), can we ACTUALLY go ahead and solve real problems or does that not attract VC funding? ED
199.
▲
by
fijal
12y ago
The standard JSON has an optimized version in PyPy (that does not beat ujson, but is a lot faster than the stdlib one in cpython)
200.
▲
by
fijal
12y ago
JavaScript is a real language. I should make it more explicit - I want a real language that's sufficiently different than JS. Any of the list is not. If you look closely, none of the languages is actually python or ruby (or anythin
201.
▲
by
fijal
12y ago
compile-to-JS languages are generally just syntactic sugar. How do I access DOM from my LLVM language? Seriously, the question was not what's YOUR favorite language, if you happen to be in the JS camp, that's perfectly fine. Howev
202.
▲
by
fijal
12y ago
This is ridiculous. I want a real language, like Python or Ruby, not something that is ESSENTIALLY JavaScript with an altered syntax and few goodies.
203.
▲
by
fijal
12y ago
For the sake of my future self I hope the answer is no . However bad the current platforms are (and I'm certainly not a huge fan of apples policy w.r.t. implementing own languages), you can think about writing your own application
204.
▲
by
fijal
12y ago
british BTU or american BTU? please use SI standard measures for those who don't happen to live in America :-)
205.
▲
by
fijal
12y ago
asyncio would need some work in order to be trully parallelizable on top of pypy-stm. You would need to go around and eliminate all the global state that all the elements are modifying. But in principle it should work (requires work though)
206.
▲
by
fijal
12y ago
yes, normal transaction.py should just work :-)
207.
▲
by
fijal
12y ago
that should be very easy, since STM is mostly a project that is independent of the interpreter (e.g. you can use it in hippyvm or pyrolog). Good project as a start of contribution ;-)
208.
▲
by
fijal
12y ago
The main point is that at first, your code will be slow (as in bound to a single core) and then you can optimize it to provide better performance. This is as opposed to threads, where your code will be immediately fast, but buggy. The diffe
209.
▲
by
fijal
12y ago
it's all A LOT more difficult if you don't live in America.
210.
▲
by
fijal
12y ago
To be fair, if json being 50% slower means your whole program is slower, even if other parts are faster, generally means that your bottlenecks are in serializing/unserializing and not in the VM, so we have really nothing to work with h
More ›