Mailing List Archive
tlug.jp Mailing List tlug archive tlug 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: Wed, 30 Jul 2008 03:46:50 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- References: <20080728080316.GA16586@lucky.cynic.net> <d8fcc0800807280309j3d410857w9b9e5fdd3462316a@mail.gmail.com> <20080728114336.GA18114@lucky.cynic.net> <d8fcc0800807280554m1db06f1aq3a58205b1f9861ea@mail.gmail.com> <20080728144249.GA26262@lucky.cynic.net> <d8fcc0800807280805g11e1165cg7252a6b9c9017771@mail.gmail.com> <20080728160250.GB26262@lucky.cynic.net> <d8fcc0800807280949y71d562a4lad5773cf142d3f11@mail.gmail.com> <20080729004756.GF26262@lucky.cynic.net> <87skttcco4.fsf@uwakimon.sk.tsukuba.ac.jp> <20080729093315.GJ16234@lucky.cynic.net>
Curt Sampson writes: > On 2008-07-29 17:33 +0900 (Tue), Stephen J. Turnbull wrote: > > > I don't see why the optimistic execution strategy described in > > Beautiful Code couldn't be used in Java.... > > It would work perfectly fine, and probably would not be all that hard to > implement. The same is true of many other languages. > > The point is, the compiler's type checker in Java is not poweful enough > to tell you when you've used your library incorrectly, That's a pretty strong assertion. I assume that Java has some kind of templating facility. So all you need to do is define a TVar template class that does not derive from the underlying class, but contains a private (reference to an ?) instance of it. For the locking, I guess resource acquisition as initialization would be powerful enough. Of course you still need to decide which variables need > and thus you're still open to the bugs that the Haskell compiler > will prevent you from inserting when you start combining smaller > operations. I don't see how.
- Follow-Ups:
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Curt Sampson
- References:
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Curt Sampson
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Josh Glover
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Curt Sampson
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Josh Glover
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Curt Sampson
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Josh Glover
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Curt Sampson
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Josh Glover
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Curt Sampson
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Stephen J. Turnbull
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: work times & accommodation @tokyo, WAS: Re: [tlug] Embedded linux dev wanting to find work in Tokyo.. Seeking advice.
- Next by Date: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Previous by thread: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Next by thread: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links