4 ms·
In big parts that's true, but there are some good arguments in favor of a GC for these small devices: - the GC is a sliding compacting GC. As such there is no
by floitsch 4y ago
In big parts that's true, but there are some good arguments in favor of a GC for these small devices:
- the GC is a sliding compacting GC. As such there is no fragmentation for heap-allocated memory.
- the memory on these devices is tiny. The GC thus doesn't take long time.
- the ESP32 has really good peripherals, making timing sensitive operations very rare. In most cases there is a hardware module that does the job for you. The timing requirements then usually become significant less important.