Is this possible currently? Where can I find more information about how the garbage collector works. I saw that for real time garbage collection, the function that allows you to specify the maximum time the garbage collector can collect for determines the time that has passed using OS specific calls to get the ticks.
Is it possible to supply your own functions ( like I could create my own SysTick on a microcontroller)
EDIT: Formatting
I should have just consulted the source to begin with. I could provide my own posix implementation of gettimeofday as that is the fallback for when the OS isn't windows, mac, or Linux. But then you are forced into using extremely large variables.
Perhaps another os definition like, roll your own, could let you override the Nim proc getTicks() with whatever you wanted it to be.
Including build options that allow the Nim runtime to be customized only in user code would be a great feature. I think you could modify the system files yourself if you needed to.
Nim GC is thread-local, standalone system has no thread so I think you need to implement it by yourself.
Coding in standalone system, basically you're coding in C with Nim syntax, maybe.