Hi, basically a RTOS is a some sort of scheduler around a big bunch of
device-drivers, memory handling and chip-init/boot-routines around 'em
hopefully well designed to service/process events within the time required :-).
If you have a battery powered design you will face additional challenges i
Disabling GC and threads looks like a crutch. It is very strange not to use any
achievements of the last twenty years in OS construction, as most of them
available for free in source code. Maybe will something like FreeRTOS be great
as a base for OS written in Nim?
If you disable the garbage collector and does some tweaks Nim is able to run on
microcontrollers such as an Arduino or Attiny85. So it's definitely possible to
run bare metal. There has even been an OS demonstrator written in Nim:
[https://github.com/dom96/nimkernel](https://github.com/dom96/nim
Are any projects or tutorials exists on using Nim for programming rump kernels
or bare metal programs?
[http://rumpkernel.org](http://rumpkernel.org)/
What minimal API and POSIX libraries must be provided by the background C
runtime to make Nim works?