Is Koka a good language to call C with FFI #664
Answered
by
TimWhiting
sami-badawi
asked this question in
Q&A
-
Koka is a great language and it compiles to C, so it seem like it could be a good language to call C libs with. I have not found much documentation for FFI to C. Could you control Raylib from Koka? |
Beta Was this translation helpful? Give feedback.
Answered by
TimWhiting
Jan 30, 2025
Replies: 1 comment 4 replies
-
You can definitely do this. There isn't a whole lot of official documentation about it, though I've written some unofficial docs here: The standard library is also a great reference for how to do this. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
sami-badawi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can definitely do this. There isn't a whole lot of official documentation about it, though I've written some unofficial docs here:
https://koka-community.github.io/koka-docs/koka-docs.kk.html#sec-less-known-features
The standard library is also a great reference for how to do this.