
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Date: Sat, 2 Aug 2008 13:10:00 +0200
- From: Attila Kinali <attila@example.com>
- Subject: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- References: <20080718055807.GC18016@lucky.cynic.net> <82c89d700807180109l6b922486mc4d9027c096bc21@mail.gmail.com> <4883F362.3050100@sun.com> <b6c67a3d0807202032m5ed3843fu9eb6c2e851e26a0e@mail.gmail.com> <48844B78.9080505@sun.com> <87iquyh5pb.fsf@uwakimon.sk.tsukuba.ac.jp> <20080722093518.GC450@lucky.cynic.net> <873am1hlq5.fsf@uwakimon.sk.tsukuba.ac.jp> <20080724041853.GM2936@lucky.cynic.net> <87iquvyc7y.fsf@uwakimon.sk.tsukuba.ac.jp> <20080724112711.GB7891@lucky.cynic.net> <87fxpzx9mt.fsf@uwakimon.sk.tsukuba.ac.jp> <20080727120405.752622d9.attila@kinali.ch> <87abg3dxxu.fsf@uwakimon.sk.tsukuba.ac.jp>
- Organization: NERV
On Mon, 28 Jul 2008 02:44:13 +0900
"Stephen J. Turnbull" <stephen@example.com> wrote:
> Attila Kinali writes:
> > Does STM work in real world applications?
>
> Of course it does, if you pick the right applications. That's my
> point, though, knowing which applications and how to factor them to use
> STM effectively is probably equivalent to the general concurrency
> problem at the present time.
For any given solution, you only have to pick the right
problem to make it look good.
> > What i think the problem is, that our programming languages
> > today have a very bad abstraction of concurency and that
> > the solution lies in the programming language rather then
> > in a new way of locking.
>
> But that's exactly the way SP-J sells STM in his chapter in /Beautiful
> Code/, as a better abstraction of concurrency.
I've read it, though not completely understood. But IMHO
STM is not the silver bullet to solve all concurency problems.
Actually, i think STM has more problems under the hood than
does conventional locking have. But it does serve as a different
abstraction to see problems in a different light.
What i find very disturbing is, that so many research hours
are spend on how to apply STM to a certain problem or even how
to implement it in a clever way instead of having a look at
its often obious and already well documented deficiencies and
try to come up with a better solution (and be it only a
modification of STM).
Attila Kinali
--
The true CS students do not need to know how to program.
They learn how to abstract the process of programming to
the point of making programmers obsolete.
-- Jabber in #holo
Home |
Main Index |
Thread Index