21 ms·
One of the neat features of Céu is that it has Simula-like objects with coroutines. Method calls are asynchronous, can be paused while they wait for events and
by ufo 11y ago
One of the neat features of Céu is that it has Simula-like objects with coroutines. Method calls are asynchronous, can be paused while they wait for events and many objects can be simulated run concurrently. One of the students here in the lab is experimenting with using Céu to code the logic for some simple 2D games and according to him the event system allows you to write code in a very "natural" way.
Another special feature of Céu is "strong abortion" with the par/or primitive. par/or lets you run two computations concurrently and if one of them completes the other one is aborted and all its resources are freed. Aborting asynchronous computations is not something that all asynchronous programming systems let you do very well.
(btw, if anyone is wondering, Céu means sky in Portuguese)