overally if you write an os you need to write your malloc/free .. and then you should be able (i think..) to use many of the gc-s anyway and more of stdlib.
But you can also think of Nim as macro-able higher level C and write it like that (but indeed you probably still need this minimal allocation support)
But you can also think of Nim as macro-able higher level C and write it like that (but indeed you probably still need this minimal allocation support)