5 ms·
And this means that the performance is not the first (or second) reason to use Ceu, right? In other words, is it somewhat slow?
by zerr 10y ago
And this means that the performance is not the first (or second) reason to use Ceu, right? In other words, is it somewhat slow?
- fsantanna 10y agoI wrote in Lua the source-to-source compiler that takes a ".ceu" and generates a ".c" (the code is a single-threaded state machine), which is then compiled with gcc. The compiler is slow, but not the final binary. We wrote a paper [1] that compares flash,RAM,CPU usage from Céu vs hand-written event-driven code in C. The differences are negligible. [1] http://www.ceu-lang.org/chico/ceu_sensys13_pre.pdf http://www.ceu-lang.org/chico/ceu_sensys13_pre.pdf