Although Go is a GC language,
is it any chance to use Go in Preempt_RT Linux (Xenomai, or other RTOS), for real-time, deterministic, (industry control) software?
RTOS can offer a <50us schedule latency, it's the delay from hardware timer's interrupt triggered to real-time thread being re-scheduled.
which means if GC occupies the CPU for more than 50us, then the re-schedule latency cannot be guaranteed < 50us, especially for a single core CPU.
if the CPU have more than 2 cores, maybe the real-time thread can stay on one core, and GC work on another core, I am not sure.
the idea is attractive because the dev speed of writing C is slower than a GC language. and C have too much history burden, header files for examples.
would like to read your thinking, thanks!
BR fino