Our great sponsors
-
ffi-overhead
comparing the c ffi (foreign function interface) overhead on various programming languages
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If you look at the benchmark, the overhead of calling into C is higher for both Go and OCaml. You can see in the header that only integers are being exchanged, which should be passed in registers with no conversion being applied. https://github.com/dyu/ffi-overhead/blob/master/newplus/plus.h
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.