Updated 08Jan2011. Moved to https://www.teigfam.net/oyvind/home/technology/021-the-problems-with-threads/ 12Sep2025
Tech posts by aclassifier
Also see Designer's note page
You are at http://oyvteig.blogspot.com
Archive by month and about me: here
Last edit: 4Sept2015
Started move: September 2012
All updates at http://www.teigfam.net/oyvind/home/, but the overview is updated
Archive by month and about me: here
Last edit: 4Sept2015
Started move: September 2012
All updates at http://www.teigfam.net/oyvind/home/, but the overview is updated
Wednesday, December 29, 2010
Subscribe to:
Post Comments (Atom)
Archive
-
►
2012
(7)
- ► 04/15 - 04/22 (1)
- ► 03/18 - 03/25 (1)
- ► 03/04 - 03/11 (1)
- ► 02/26 - 03/04 (1)
- ► 01/29 - 02/05 (2)
- ► 01/15 - 01/22 (1)
-
►
2011
(12)
- ► 12/25 - 01/01 (1)
- ► 12/18 - 12/25 (1)
- ► 11/27 - 12/04 (1)
- ► 09/25 - 10/02 (2)
- ► 08/07 - 08/14 (1)
- ► 07/17 - 07/24 (1)
- ► 06/26 - 07/03 (1)
- ► 06/12 - 06/19 (1)
- ► 03/06 - 03/13 (1)
- ► 02/06 - 02/13 (1)
- ► 01/09 - 01/16 (1)
-
▼
2010
(8)
- ► 09/19 - 09/26 (1)
- ► 08/15 - 08/22 (1)
- ► 04/18 - 04/25 (1)
- ► 04/11 - 04/18 (1)
- ► 03/14 - 03/21 (1)
- ► 01/17 - 01/24 (2)
-
►
2009
(13)
- ► 07/19 - 07/26 (1)
- ► 07/12 - 07/19 (1)
- ► 06/28 - 07/05 (1)
- ► 04/05 - 04/12 (1)
- ► 03/15 - 03/22 (2)
- ► 03/01 - 03/08 (1)
- ► 02/22 - 03/01 (1)
- ► 02/08 - 02/15 (1)
- ► 02/01 - 02/08 (1)
- ► 01/18 - 01/25 (1)
- ► 01/11 - 01/18 (2)
Popular Posts
-
Moved to http://oyvteig-2.blogspot.com/2011/09/028-diy-prototype-of-ipad-2-holder-for.html .
-
This note is updated at my new blog space only, blog note http://www.teigfam.net/oyvind/home/technology/050-sound-on-sound-and-picture/ ...
-
Please observe that this note, even if started on July 20, 2009 has been extended with several sub-posts that are being continuously updat...
-
Updated 08Jan2011. Moved to https://www.teigfam.net/oyvind/home/technology/021-the-problems-with-threads/ 12Sep2025
Øyvind Teig

- aclassifier
- Trondheim, Norway
All new blogs and new home page start at
https://www.teigfam.net/oyvind/home
Overview of old blog notes here
My technology blog was at
https://oyvteig.blogspot.com
and my handicraft blog was at
https://oyvteig-2.blogspot.com
PS: just call me "Oyvind"
There's a fairly well-known paper by Hans Boehm about the problems of implementing concurrency features as a library: http://portal.acm.org/citation.cfm?doid=1065010.1065042
ReplyDeleteHe's writing from a shared-memory perspective, but his points are equally valid for message-passing approaches, if we want to be able to execute our programs in parallel.
I think it's likely that over the next few years we'll see languages being developed that have sufficiently powerful type systems to allow the safety properties of a concurrent program to be statically verified. We're not there yet, though. I'm thinking here of languages like Agda that blur the distinction between conventional and type-level programming, which mean that the kinds of static checks we currently build into our compilers can instead be expressed in the language itself. As we've seen with Haskell, the challenge isn't so much expressing the checks as producing useful error messages when they fail...
Go is great in terms of marketing, but I think it's actually a step back from what previous languages in the same family (Newsqueak, Alef, Limbo) offered, in terms of concurrency features, and it's a shame that the designers didn't include any of the more recent innovations in other CSP/pi-calculus-derived languages. There's some discussion of this in my thesis: http://offog.org/publications/ats-thesis.pdf
Thank you, Adam! Boehm's paper "Threads Cannot be Implemented as a Library" (2004) and slides are available on HP's repository: http://www.hpl.hp.com/techreports/2004/HPL-2004-209.html http://www.hpl.hp.com/personal/Hans_Boehm/misc_slides/pldi05_threads.pdf
ReplyDelete..however, those papers seem to point to C++0x as _the_ _alternative_ (http://en.wikipedia.org/wiki/C++0x). The working draft of Nov10 is almost 1400 pages, and 60 pages cover atomic operations and the thread support _library_. Food for my next post?