Hacker News new | ask | show | jobs
by yjftsjthsd-h 2173 days ago
But it's still garbage collected. And GC should be done by the python interpreter proper, so it would be in native code.
1 comments

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.