2 ms·
> Go calling C is expensive Is this true even if only primitives are passed and returned? If so, why? For comparison, Java is fast at that these days, if I und
by MaxBarraclough 6y ago
> Go calling C is expensive
Is this true even if only primitives are passed and returned? If so, why? For comparison, Java is fast at that these days, if I understand correctly.
(Interesting related reading regarding Java: https://web.archive.org/web/20160304055443/http://nerds-central.blogspot.co.uk/2012/04/extreme-jni-performance.html https://web.archive.org/web/20160304055443/http://nerds-cent... )