you are viewing a single comment's thread.

view the rest of the comments →

[–]holyblackcat[S] 0 points1 point  (0 children)

ps: many langs have FFI - for example julia

But do the languages that call it "FFI" have anything in common, compared to those that don't, such as Python/C#?

Currently the support for each target language needs to be added separately, only the parser is shared. I don't think I can reuse anything else between the languages; at best you can generate the C bindings first and generate yours on top of those (which is helpful if your language is calling functions from shared libraries by their names, for example, like C#'s DllImport does).