Asynchronous Message Passing in JR

JR Programming Language Logo

We’ve now covered the basic synchronization systems (semaphore, monitors) and we know how to declare operations and capabilities . It’s time to go to an other form of synchronization : Message Passing. In this post, we’ll focus in Asynchronous Message Passing, we’ll cover later, the synchronous message passing system with RendezVous.
When we use message passing, the threads doesn’t share datas anymore, they share channels. …

JR Operations and Capabilities

JR Programming Language Logo

Now that we’ve seen how to use semaphores and monitors in JR, we must go to message passing. But before, we must learn how to use operation and capabilities in JR. These concepts are used in JR to message passing, so we must learn them before.
An operation (or op-method) has the same form as a method declaration but are declared with a op …

Monitor programming in JR

JR Programming Language Logo

Like I promised, I will restart to write articles now that the evaluation period is over.
After seeing how to develop using the JR programming language, we’ll see now how to use monitors in JR.
Monitors provide a higher-level abstraction than semaphores and produce a better code with several advantages :

All the synchronization code is centralized in one location and the users of this code …

WordPress 3.0 installed !

Wordpress Logo

WordPress 3.0 (Thelounious) has been released this week. I just updated the blog with the new version. I had no problem during the upgrade process, all automatically. Good job !
This major release of WordPress solve more tan 1200 bug, add several performance improvements and add several new features :

Merge of WordPress MU : You can now add several different blogs on the same installation …

JTheque is migrating to Git

Hi,
Some informations about the current state of JTheque. I’m currently migrating it from SVN to Git. Actually the projet is hosted at Developpez.com, a french community. For more visibility, i wanted to host it in an english website. After several days of comparative, I chosen Github has host. Because i chose Git, i think it’s the best and easier community to share projects using …

How to choose a monitor for your computer ?

Monitor Picture

The monitor is a very important part of your computer. Indeed without it you cannot display anything. There is several types of monitors and the price varying a lot. The most limiting criteria will be your budget when you’ve to choose a new monitor.
In this post, we’ll see what to watch before buying a new monitor.

Java 7 : Translucency and shaped windows

Duke Java Logo

Java 7 introduces very interesting features for desktop windows :

Transclucency for windows : Make a full window translucent with a specified alpha level
Per pixel translucency : Make a part of the window translucent.
Shaped windows : You can now create windows with a certain shape, like circle, ovale, triangle, …

We’ll see all this features in that post. All the examples are tested in Windows Seven …

Java 7 : Add “public defender methods” to Java interfaces

Java Logo

At this time, we aren’t sure that the closures will be included in the Java 7 release. But these doubts have generated a new project : The “public defender methods” proposal.
This new proposal for Java 7 wants to improve the interfaces allowing to add new methods to existing interfaces. The classes implementing the interfaces doesn’t need implements these methods. The implementation of these methods …

Java 7 : Oracle pushes a first version of closures

Java Logo

2 days ago, Oracle pushed a first version of the closures implementation. We can see the evolving syntax in the test cases they made for the Java compiler. You can see these test cases here.
This revision supports the following features (copied from revision) :

Function types syntax
Function types subtyping
Full support for lambda expression of type 1 and 2
Inference of thrown types/return type in a lambda
Lambda …

15 years birthday of Java (a bit late)

I didn’t notice that earlier, but the 23 May 2010 was the 15 years birthday of Java !
I started using Java only 5 years ago, but I’ve always been happy of this language.
It makes now a long time that we’ve this wonderful language to develop
Thanks a lot to James Gosling and Sun Microsystems for this great language.
Duke Java Logo