The Artima Developer Community
Sponsored Link

Java Buzz Forum
COmega and Ted :)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
COmega and Ted :) Posted: Apr 11, 2005 12:25 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: COmega and Ted :)
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

I had one slot in which I wasn't speaking at the No Fluff Just Stuff in Boston, so I snuck into Ted's talk on COmega.

In typical Ted style, a tangent occured, and an hour later we had only gone through a few slides ;)

This isn't a bad thing though, as we got to play with some interesting pieces of COmega. I had been looking mostly at the XML/SQL features, which are a step up from Groovy for example, as they are first class citizens (Groovy SQL / XML is a large step up from Java though!).

What I hadn't spent much time looking at was the Polyphonic C# side of the house. It really was interesting to see the chord based concurrency constructs.

For example, here is how you can implement Reader/Writer Locks:

class ReaderWriter {
	ReaderWriter() { idle(); }
	
	public void Shared() & async idle() { s(1); }
	public void Shared() & async s(int n) { s(n+1); }
	
	public void ReleaseShared() & async s(int n) {
		if (n == 1) idle(); else s(n-1);
	}
	
	public void Exclusive() & async idle() {}
	public void ReleaseExclusive() { idle(); }
	
}

Very, very cool stuff. I hope much of it gets into C# 3.0, and hence Java 7.0 ;)

P.s. it is good to have Ted in town this week. Hopefully we can show him a good time in the Mad-town!

Read: COmega and Ted :)

Topic: [DrunkAndRetired Podcast] Episode 1: The Life Agile, Part 1 Previous Topic   Next Topic Topic: Reese, Kevin, and The Monty Hall Problem

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use