Hi,
I'm interested in knowing about Nim's garbage collector.
Does the garbage collector run as a seperate system process and will it be invoked at regular intervals. Does the generated C code have to satisfy certain conditions to allow itself to be garbage collected ?
Can you please elaborate on it ? P.S I did read about the Nim garbage collector in the docs online.
Thank you
Is there anything specific you want to know?
If you look at the documentation page, you'll find a page on the garbage collector with some general information on Nim's default garbage collection backend.
Aside from the default backend for the garbage collector, there are also mark-and-sweep and boehm backends.
Let's say I'm writing some c program. I want to leverage Nim's garbage collector, how do I do it ? Do I have to make any call to GC or how do i make my C program Nim GC compatible ?
Thanks a lot for your replies def and Varriount :)