3 ms·
I don't know that all of the Go bullet points are correct. For one, Go doesn't have RAII or destructors specifically, but it has "defer" and runtime.SetFinalize
by supersillyus 16y ago
I don't know that all of the Go bullet points are correct.
For one, Go doesn't have RAII or destructors specifically, but it has "defer" and runtime.SetFinalizer which provide similar capabilities.
Also, does Go necessarily have global GC? My understanding is that it currently does, but that's not part of the language spec... could it not in theory use reference counting or per-thread GC?
The other points seem pretty dead-on.. Rust seems to prioritize safety over simplicity, which is probably a good thing.