Viewer23

Viewer23 OP t1_j9w3by0 wrote

  1. I already use GO.
  2. The only dislike part about GO is it doesn't have a tunable GC.

In languages like Nim (that also compiles), you can actually tune it's GC to use different methods of Memory Management AND even turn it off.

https://nim-lang.org/1.4.0/gc.html

Python even has something similar. It has a gc package where you can completely turn off it's GC (or do other alterations)

https://docs.python.org/3/library/gc.html

GO's GC isn't bad. It does work amazingly however if you are working on projects where memory is crucial then GO's GC isn't going to help that much. Moreover, that gc will slow down the code / take a toll on the performance.

https://tip.golang.org/doc/gc-guide

Whereas C, it's manual memory management. You have full control over the memory. Since I like both C and GO, I decided that I want to convert some of GO's packages to C since Go's packages are very useful.

(In C, there are no split, join or cut functions similar to GO)

1