That being said, my gut says that it should be possible to go quite far with a harness that assumes the model might not be quite good (and hence double-checks, retries, etc)
624 karma · joined May 22, 2013
That being said, my gut says that it should be possible to go quite far with a harness that assumes the model might not be quite good (and hence double-checks, retries, etc)
For example: you start a main process, warm it up with a few requests, run the JIT compiler and then fork off worker processes to handle the main chunk of traffic.
As of now, it requires hand-tuning to get the best possible performance.
In terms of use cases, Cinder does the best when faced with "business logic" code (lots of inheritance, attribute lookups, method calls, etc). It can speed up numerical computations too, but you're probably better off using a library if that's the majority of the workload.
For big monoliths (like ours at IG), the server start-up can take more than 10sec, which is already super high for a "edit -> refresh" workflow. Introducing a Cython like compilation step is really a major drawback for every single developer.
For smaller projects, Cython works extremely well (and we do use it for places where we need to interface with C/C++).
Yes, but developers don't have to ever interact with it.
> Also, look at how cython work
Cython works by adding a separate build step. Changing a Cython module requires you to recompile it, which is avoided with a JIT.
Being compatible with the rest of the Python ecosystem is the main reason why Cinder is built on top of CPython. Although yes, some features are indeed very experimental.
> in a world where we have type annotations, JITs feel like a massive step back. Stuff like mypyc could get us way further into high performance stuff
Ah, but that introduces a separate compilation step, which may not be tolerable in every situation.
Note: Never worked on v8, just liked the information here.
The reason goto is considered bad is that it can make code hard to follow for humans. Since this is an intermediate step in compilation, that's not an issue here.
These problems are applicable to all languages, not just Python.
Google provides a lot of value with their free products too. Aren't you discounting that?
The point I was trying to make was, restrictions on personal freedom are reasonable in this case to keep the broader society healthy.
In this case, the health of the society as a whole is at stake. Therefore, people need to collectively follow rules, and understand that minor inconveniences such as not being able to get a haircut will only affect them for a few weeks or months.
(I work at IG, but not on Explore)
That's unsubstantiated and dilutes the discussion IMO. If you read the post, the proposal outlines a bunch of good reasons to stop supporting UA strings (feature detection, etc)
Yeah, but how many people are actually going to go through the hassle of returning them?