3 ms·
> I'm really glad to see some of the Python committers taking a serious look at the GIL. People have been taking serious looks at the GIL for a long time (ther
by masklinn 12y ago
> I'm really glad to see some of the Python committers taking a serious look at the GIL.
People have been taking serious looks at the GIL for a long time (there were technically working GIL-less versions of 1.5). The issue has never been that no one wanted to work on it (let alone that it was impossible), but that so far the single-threaded performance hit has been too large to be acceptable to the core team.
> Now, if we could only get an optional static type checker... (heresy, I know).
Er… how would that be heretic when Python 3's annotations were introduced to support exactly this?
- jnbiche 12y ago>Er… how would that be heretic when Python 3's annotations were introduced to support exactly this? I know well about Python 3 annotations, since that's what gave me hope to begin with. But I had the impression that every serious proposal I've seen on the Python Dev mailing list to integrate a static type checker in CPython had been met with rejection. However, I just checked the archives and see now I was wrong. There have been multiple discussions about this, and even a working group. GvR has given static types in Python the cold shoulder, but that attitude is clearly not shared by everyone in the community. Glad to have been wrong in this case.
- maximilian 12y agoThere is also the mypy project (http://mypy-lang.org/ http://mypy-lang.org/). They are working on a type-checked variant of python. Currently it's just a pre-processing stage, but they eventually want to make it possible to AOT compile using the type information to get a faster language.
- freyrs3 12y agoIt was originally part of the authors PhD work, it hasn't been touched since he graduated.