SugarCubes A set of classes for reactive programming in Java
SugarCubes is a set of Java classes used to implement:
event based systems, especially those where events are instantly broadcast
throughout the system. Communicating in this framework is like in radio transmissions, where emitters
send information that is instantaneously received by all receivers.
concurrent systems, in particular thread-less ones.
Here, parallelism is a logical programming construct to implement activities which
are supposed to proceed concurrently, and not one after the other.
reactive systems, which continuously react to activations.
A comparison
between Java threads and SugarCubes describes a small example of concurrent
program coded with threads and with SugarCubes. A paper and the code of the
example are available.
Sources of SugarCubes are available here src (156 KB)
The SugarCubes v4.0.0 Java Doc doc.tar.gz file, (330 KB).
This Documentation is under construction. It's still at a very early stage of its development, and many things are not well documented or not documented at all. It describes the SugarCubes programming interface.
READMEThis 3.1.0 release fixes some bugs in the v3.0.x versions and adds some new features.
This is a stable release. That means that a lot of test has been done on this release but
bugs can be still around. If you find some let me know.
The SugarCubes v3.1.0 Java Doc (tar.gz file, 248KB) This Documentation is under construction. It is at a very early stage
of its development, and many things are still not documented. It describes
the SugarCubes programming interface.
The SugarCubes v3 Java Doc (tar.gz file, 68K) This Documentation is under construction. It is at a very early stage
of it is development, and many things are still not documented. It describes
the SugarCubes programming interface.
Examples (60Kb) is a jar containing simple examples file that acts as a
mini-tutorial for SugarCubes (type jar xvf example.jar to extract source code).
See also the README file included.