FFI / interfacing with other languages

NOTE: this page is deprecated. I am not updating it anymore.

By Artyom Kazak aka @availablegreen
Last update: January 5, 2021

C / C++

Probably inline-c and inline-c-cpp?

I never actually tried inline-c, but I have a feeling it will be alright and will be easier to use than foreign declaration.

If I need to write normal FFI bindings, I will look at the source of cmark and do whatever they do.


Definitely inline-js.

We use inline-js at Juspay and it works very well.


Probably inline-java?

Never tried it myself, but it looks good.


Probably inline-r?

Again, never tried it myself, but it looks good.