Hi, as you all may know, there are several options to pass in with --gc compiler flag, however it seems like not all of them are really explained. Maybe it is only me, but I wasn't able to find anything about them in the docs, e.g. should we stick to default one or which one and when should be used. Probably some one can enlight.
Also, as an experement, I passed --gc:none expecting it to reduce CPU usage and incriss memory usage, but after that the programme started to eat nearly 100% of the CPU time but the memory usage was the same. Can some one kindly explain this result as I find it interesting.
Yes, some of the smart core Nim developers may be able to explain GC details. But I guess before we can really understand that, we should read some textbooks about that stuff, maybe http://gchandbook.org/
As you may know, Angreas is working on a new one with better "real time" behaviour. When you try to test and compare various GC's, you should provide the test code, without that answering would be only guessing.