[#5218] Ruby Book Eng tl, ch1 question — Jon Babcock <jon@...>

13 messages 2000/10/02

[#5404] Object.foo, setters and so on — "Hal E. Fulton" <hal9000@...>

OK, here is what I think I know.

14 messages 2000/10/11

[#5425] Ruby Book Eng. tl, 9.8.11 -- seishitsu ? — Jon Babcock <jon@...>

18 messages 2000/10/11
[#5427] RE: Ruby Book Eng. tl, 9.8.11 -- seishitsu ? — OZAWA -Crouton- Sakuro <crouton@...> 2000/10/11

At Thu, 12 Oct 2000 03:49:46 +0900,

[#5429] Re: Ruby Book Eng. tl, 9.8.11 -- seishitsu ? — Jon Babcock <jon@...> 2000/10/11

Thanks for the input.

[#5432] Re: Ruby Book Eng. tl, 9.8.11 -- seishitsu ? — Yasushi Shoji <yashi@...> 2000/10/11

At Thu, 12 Oct 2000 04:53:41 +0900,

[#5516] Re: Some newbye question — ts <decoux@...>

>>>>> "D" == Davide Marchignoli <marchign@di.unipi.it> writes:

80 messages 2000/10/13
[#5531] Re: Some newbye question — matz@... (Yukihiro Matsumoto) 2000/10/14

Hi,

[#5544] Re: Some newbye question — Davide Marchignoli <marchign@...> 2000/10/15

On Sat, 14 Oct 2000, Yukihiro Matsumoto wrote:

[#5576] Re: local variables (nested, in-block, parameters, etc.) — Dave Thomas <Dave@...> 2000/10/16

matz@zetabits.com (Yukihiro Matsumoto) writes:

[#5617] Re: local variables (nested, in-block, parameters, etc.) — "Brian F. Feldman" <green@...> 2000/10/16

Dave Thomas <Dave@thomases.com> wrote:

[#5705] Dynamic languages, SWOT ? — Hugh Sasse Staff Elec Eng <hgs@...>

There has been discussion on this list/group from time to time about

16 messages 2000/10/20
[#5712] Re: Dynamic languages, SWOT ? — Charles Hixson <charleshixsn@...> 2000/10/20

Hugh Sasse Staff Elec Eng wrote:

[#5882] [RFC] Towards a new synchronisation primitive — hipster <hipster@...4all.nl>

Hello fellow rubyists,

21 messages 2000/10/26

[ruby-talk:5933] Re: [RFC] Towards a new synchronisation primitive

From: Robert Feldt <feldt@...>
Date: 2000-10-28 10:20:01 UTC
List: ruby-talk #5933
On Sat, 28 Oct 2000, Reimer Behrends wrote:

> On Fri, Oct 27, 2000 at 06:13:32AM +0900, hipster wrote:
> > Matz has occasionally expressed his worries about the synchronization
> > primitive used in Ruby today. He asked for suggestions regarding alternate
> > schemes, and guess what, I wrote one. The following discusses object locks,
> > a concept known from Java and others. These object locks would replace the
> > current Thread.critical notation.
> 
> The problem with object locks--and a great many of the other suggestions
> for primitives--is that they are fairly low-level. They represent the
> state of the art for the 1970s, but not for what's possible today. For
> Java's approach in particular, I recommend reading Per Brinch Hansen's
> critique [2] before even thinking of using it. But in general, I suggest
> that prior to changing the language people familiarize themselves with
> the current state of the art for writing reliable concurrent programs,
> specifically the field of coordination languages [1]. If you just need a
> basic mechanism, the current primitives supplied by Thread are more than
> adequate. But none of the proposals that I've seen so far really have
> benefits that exceed those offered by Thread--they are just different
> ways to skin the same cat, and not very good ways, either.
> 
> I apologize if this sounds a bit harsh--but it is my field of research,
> and right now the discussion seems to focus on stuff that was old a
> decade ago.
>
It's good with some expert advice. Would you also be willing to point to
some actual implementations of the new models/ideas you point to?

Can you summarize the benefits of these new ideas in comparison to the
decade-old ones?

Do you think that we can find one "silver bullet" approach in the areas
you point to or do we need to supply primitives at multiple different
abstraction levels?

Aren't coordination languages mostly targeted to massively parallel
systems or do you think they're suitable to single-processor Ruby with
multiple threads?

What about performance issues? Any comparisons between "new" and
"old" approaches?

What about modern COOP approaches like Synchronization rings by DAvid
Holmes? Are they in your opinion mostly a new mix of old ideas or do they
offer anything new (especially in relation to the models/ideas you point
to)?

We'd appreciate if you can help us choose a good design.

Regards,

Robert


In This Thread

Prev Next