Which GC is the current default GC? Can you set it on the command line? # Disable GC
`--gc:none` This makes all new GC calls into malloc calls. But does not create free calls so your app will leak memory very fast. # Boehm garbage collector `--gc:boehm` * [https://en.wikipedia.org/wiki/Boehm_garbage_collector](https://en.wikipedia.org/wiki/Boehm_garbage_collector) * [https://www.hboehm.info/gc](https://www.hboehm.info/gc)/ Where can I find libbohem.dll for 64 bit windows? I was not able to compile it from source. # Mark and Sweep `--gc:markAndSweep` How is this different from current GC? # Regions `--gc:regions` `--gc:stack` Gives a bility to define a memory region and then free at at once. Is --gc:regions and --gc:stack same thing? withScratchRegion: # allocate stuff here and it will be freed when existing this region Run # GC V2 `--gc:v2` Replaces incremental mark and sweep. It is not production ready yet, however. Is this true? # # Go-lang's garbage collector. `-gc:go` Go people have put a ton of effort in getting their multi threaded GC to work. This uses their work in Nim. Where can I find libgo.dll for 64 bit windows? I was not able to compile it from source. # Destructors `--gc:destructors` A GC based on distructors. Appears not to work. # Generational GC `--gc:generational` Disabled and deprecated. Should all code that points to it be removed?
