Posts Tagged ‘JR’

JR Virtual machines

Until now, we’ve always had concurrent program working in one virtual machines, but JR provides ways to declare several virtual machines on several different physical machines. A JR Virtual Machine contains a Java Virtual Machine and a layer for the JR language. Once you created some virtual machines, you can specify where an object will be created with a variant of the new operator. …

Rendezvous, concurrency method, in JR

In this post, we’ll see a new feature of JR : the rendezvous.
Like asynchronous message passing, this synchronization method involves two processes : a caller and a receiver. But this time, the invocation is synchronous, the caller delays until the operation completes. The rendezvous does not create a new thread to the receiver. The receiver must invoke an input statement (the implementation of rendezvous) …

Asynchronous Message Passing in JR

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

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

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 …

Introduction to JR programming language

1. Language overview
JR is a programming language especially created to solve concurrent programming problems. This language is an overview of Java who add to this last the main paradigms of concurrent programming. Moreover JR make easier the concepts still implemented in Java like process or semaphores. There is also several extensions for JR to add more functionalities like monitors and Conditional Critical Region (CCR). …

Install the JR environment on Windows

1. JR Programming language
This article will present you the installation of JR on Windows. It’s not an article to learn the JR programming language, this article focus on the installation of JR on Windows.
JR is a programming language especially created to resolve concurrent programming problems. This language is an overlay of Java who add to this last the main paradigms of the concurrent programming. …