Closed stephanemagnenat closed 7 years ago
Based on experiments with 110 children in the course of one week by Dawn Onufrak-Suter from technologyinlearning.ch, this is actually a real limitation.
Note that fixing issue #35 might correct this issue as a side effect.
Recent structural changes in the compiler alleviate this problem. If this problem reappears, an optimisation for the reactive mode (only one thread) could be implemented.
Currently, in simple mode, children easily write long programs that fill the full memory of Thymio. However, this is often because events are duplicated. However, correcting #41 and #10 should make the memory limitation harder to reach.
Nevertheless, simple improvements could be made, as described in issues:
28: bitfileds in compiler are filled from the msb, generating large bytecode
29: VPL2 compiler currently generates dead code