top | item 16398672

(no title)

camus2 | 8 years ago

> Like I said: Go does everything C does, but better.

It doesn't do everything C does, it doesn't allow manual memory management at first place.

So you can't pretend that a garbage collected language does everything a language with manual memory management does.

Manual memory management is a feature, Go does not have such a feature. Deterministic behavior in a program is fundamental when writing hardware drivers or real time programming, Go can't do that.

discuss

order

innagadadavida|8 years ago

while it is not fully manual memory management, you can use sync.Pool and it gives you better performance as you can reduce garbage generation.

thefounder|8 years ago

What does deterministic behavior has to do with "better performance" ?