go-vs-swift icon indicating copy to clipboard operation
go-vs-swift copied to clipboard

Garbage collector vs. ARC

Open ghost opened this issue 8 years ago • 1 comments

Hi,

I just scrolled through your text and I saw no references to the garbage collector in Golang compared to the ARC in Swift. In my opinion the biggest reason to use Swift over Golang is the use of ARC instead of a GC. GC's are in a completely different dimension of performance and makes the entire program undeterministic, stuttering and pretty much completely useless in any real time work. I would say this very thing is the biggest difference between the two languages.

/ opinion

ghost avatar Jan 19 '17 11:01 ghost

Thanks for the input @alexhultman, would like to include information about the different memory management approaches used by Go and Swift -- will look to write more about this when I have the time to update this paper.

jakerockland avatar Jan 19 '17 18:01 jakerockland