From mboxrd@z Thu Jan 1 00:00:00 1970 From: tlaronde@polynum.com Date: Mon, 28 Jul 2008 19:50:21 +0200 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080728175021.GA2030@polynum.com> References: <14ec7b180807281011k2ccffe12i5739998193c18024@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14ec7b180807281011k2ccffe12i5739998193c18024@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Subject: Re: [9fans] current state of thread programming Topicbox-Message-UUID: f30c0cd6-ead3-11e9-9d60-3106f5b1d025 On Mon, Jul 28, 2008 at 11:11:19AM -0600, andrey mirtchovski wrote: > found this snippet today and decided to share it with the list. every > once in a while a look at how "the rest of the world" does things is > beneficial :) > > "I don't know about you, but every time I have to program with threads > and shared resources, I want to remove my face incrementally with a > salad fork. Locks, mutexes, the synchronized keyword; all of these > things can strike fear into the heart of a green developer. Most > seasoned developers just fall into a rut of depression when it's time > for multi-threading. Developers like me simply talk our way out of it. > It's easier than thinking." On the same subject, this quote from Donald E. Knuth, Volume 4 fascicle 0 (new addition to The Art of Computer Programming, published in may 2008)---Preface: "Furthermore, as in earlier volumes of this serie, I'm intentionnally concentrating almost entirely on _sequential_ algorithms, even though computers are increasingly able to carry out activities in parallel. I'm unable to judge what ideas about parallelism are likely to be useful five or ten years from now, let alone fifty, so I happily leave such questions to others who are wiser than I. Sequential methods, by themselves, already test the limits of my own ability to discern what the artful programmers of tomorrow will want to know." And as an illustration of the "fun", the ongoing discussion on NetBSD kernel mailing list _between_ 1:1 and SA threading models (when the person working on SA revival proposes "vel" : 1:1 or/and SA ---pickup the one you want or need for backward compatibility), discussion with an amount of technical arguments of 5% or less. -- Thierry Laronde (Alceste) http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C