News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by littlestymaar on Sunday September 22, 2019 @03:44AM (#21040168)
In a context where you don't allocate memory, you lose a lot of those (for instance, you almost cannot use interfaces, because indirect calls cause parameters to those calls to be judged escaping and unconditionally allocated on the heap).

Go is a good language for web backend and other network services, but it's not a C replacement.

Re:Why I Write Games in C (yes, C) by xyproto on Wednesday September 25, 2019 @05:37AM (#21069158)
If you allocate a large block of memory manually at the start of the program, then trigger the GC manually when it suits you, won't you get the best of both worlds?