News for hackers. Stuff that matters.
Re:Guido's Proposal: Moratorium on Python language changes by jnoller on Wednesday October 21, 2009 @02:04PM (#895241)
Then you're not paying attention. No one (except a broken minority) said that they would not want to get rid of the GIL so long as single threaded performance was note degraded. Guido himself has stated this time and time again. The one thing missing to all the bright ideas and suggested ways of doing it?

A patch.

Re:Guido's Proposal: Moratorium on Python language changes by monos on Wednesday October 21, 2009 @04:37PM (#895570)
thx for clarifying this. still a strange example since the GIL is not thought to be a problem, from what i read on pydev.
Re:Guido's Proposal: Moratorium on Python language changes by jnoller on Wednesday October 21, 2009 @05:11PM (#895623)
The GIL is an implementation detail; not a bug.
Re:Guido's Proposal: Moratorium on Python language changes by amalcon on Wednesday October 21, 2009 @05:49PM (#895708)
Calling the GIL an implementation detail is like calling tail call elimination an implementation detail: for most software, it may be so, but there are idioms one may or may not be able to use depending on that detail. It's a visible implementation detail.
Re:Guido's Proposal: Moratorium on Python language changes by jnoller on Wednesday October 21, 2009 @07:49PM (#895901)
tail call elimination is a language feature. The GIL is an implementation detail of the Cpython interpreter. Jython, IronPython, and one day PyPy and Unladen-Swallow will not have a GIL.

Ergo, it is an implementation detail.

Re:Guido's Proposal: Moratorium on Python language changes by aceofspades19 on Wednesday October 21, 2009 @06:41PM (#895801)
Well, in other implementations like jython and iron python, the GIL doesn't exist, so I think most people would consider it just an implementation detail
Re:Guido's Proposal: Moratorium on Python language changes by ubernostrum on Wednesday October 21, 2009 @07:09PM (#895848)
Tail-call is an implementation detail. The fact that some people think it's as fundamental to programming as the Ten Commandments is to the Judeo-Christian tradition is... well, perhaps more a problem with programmers than with language implementations.

(and yes, it's visible, and that's one reason why I have issues with it -- it's a classic leaky abstraction, except in this case the "leak" is more like a torrential flood)

Re:Guido's Proposal: Moratorium on Python language changes by eru on Thursday October 22, 2009 @06:10AM (#896457)
If your `while'-loops would crash after a certain number of iterations (and use linear memory before that), would you call that an implementation detail or a leaky abstraction? I'd call it a bug.

And special case constructs for linear recursion like `for' and `while' are only a necessary band-aid in languages that do not treat functions properly.

Re:Guido's Proposal: Moratorium on Python language changes by ubernostrum on Thursday October 22, 2009 @04:57PM (#897642)
Thank you for making my point eloquently.

The assumption that the way you prefer to write code should be the only way to write code is, well, exactly what I was talking about.