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.