Hacker News new | ask | show | jobs
by pjmlp 2179 days ago
Go is also fully compiled to native code, big difference.
1 comments

But it's still garbage collected. And GC should be done by the python interpreter proper, so it would be in native code.
A tiny portion of Python's total execution time.
Don't get me wrong; I expect Go to be far more performant than Python. Just, they're both garbage-collected, and I have no reason to expect GC perf (specifically) to differ.
Which just shows that learning about GC algorithms is a must.

http://gchandbook.org/

And the differences between value types, AOT compiled code execution, bytecode interpreters and FFI marshalling costs between bytecode interpreters and native libraries.