A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-December/084318.html below:

why not remove thread support instead?

[Python-Dev] The endless GIL debate: why not remove thread support instead? [Python-Dev] The endless GIL debate: why not remove thread support instead?Guido van Rossum guido at python.org
Sat Dec 13 18:48:03 CET 2008
On Sat, Dec 13, 2008 at 9:13 AM, Christian Heimes <lists at cheimes.de> wrote:
> Steve Holden schrieb:
>> If I remember correctly (when threading was invented in the mid-1980s)
>> threads were originally described as "lightweight processes". The
>> perceived advantage at the time was the ability to have multiple threads
>> of control with shared memory: this was much faster than the available
>> inter-process communication mechanisms. On a single-processor computer
>> synchronization was much less of a problem.
>
> Initially one of Java's main target platforms were set-top boxes. Back
> in the 90ties set-top boxes had limited hardware and dumb processors.
> Most of the boxes had no MMU and so didn't support multiple processes.
> Threads were the easiest way to have some kind of concurrency.

Just let's not rewrite history and believe Java invented threads. They
were around well before that.

> Back in those days threads were the only solution for concurrency but
> today - about 15 years later with powerful processors even in cheap
> mobile phones - people are still indoctrinated with the same philosophy ...

It's not so much indoctrination. Threads are a useful tool. The
problem is that some people perceive threads as the *only* tool.
There's a whole spectrum of tools, from event handling to multiple
processes, and they don't all solve the same problem. (I guess it
doesn't help that the word process is given new meanings by some
languages.)

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4