SugarCubes is a set of Java classes used to implement dynamic, reactive, event-based, parallel systems. SugarCubes can be seen as a low-level basis upon which more complex reactive formalisms can be implemented. It also provides a convenient framework for prototyping experimental extensions to vario
Java threads and SugarCubes
✍ Scribed by Frédéric Boussinot; Jean-Ferdy Susini
- Book ID
- 101237193
- Publisher
- John Wiley and Sons
- Year
- 2000
- Tongue
- English
- Weight
- 131 KB
- Volume
- 30
- Category
- Article
- ISSN
- 0038-0644
No coin nor oath required. For personal study only.
✦ Synopsis
SugarCubes is a set of Java classes which provides a simple and structured approach to concurrency. It offers a powerful and modular communication mechanism based on instantaneously broadcast events. The semantics of SugarCubes code is deterministic and does not depend on arbitrary choices made by the execution platform. SugarCubes gives programmers a sound and fine control over execution; for example, reactive instructions can be preempted in a completely clean way. The paper compares thread-based programming with SugarCubes programming. It shows that SugarCubes is simpler and more structured than the standard Java threading mechanism.
📜 SIMILAR VOLUMES
Der erfolgreiche "Grundkurs Java" in der 7. Auflage. Das Buch führt Sie schrittweise durch die wichtigsten Aspekte von Java, von den elementaren Grundlagen über objektorientierte Konzepte, Dateiverarbeitung, grafische Benutzungsoberflächen bis zu Datenbankzugriffen und Kommunikation im Netzwerk. Zah
Despite the portability and platform independence of Java programs, their performance depends on the threading mechanisms of the host operating system. In this paper, we measure the performance of Java threads for two different multi-threading implementations, Linux Thread and Green Thread, using Pe