Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foreign function interface? #508

Open
amano-kenji opened this issue Oct 28, 2024 · 2 comments
Open

Foreign function interface? #508

amano-kenji opened this issue Oct 28, 2024 · 2 comments

Comments

@amano-kenji
Copy link

Perhaps, can it be made to call C functions?

@candid82
Copy link
Owner

candid82 commented Nov 3, 2024

It's difficult to dynamically load and call C libraries in Go in a cross platform way. I don't currently have plans to add this functionality to Joker. To be honest, I don't really have good ideas on how I would implement it. If anyone is willing to write a proposal and a POC, that'd be great.
I am also curious to learn more about specific use cases you have in mind for FFI in Joker.

@amano-kenji
Copy link
Author

This can turn joker into a general purpose system scripting language like janet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants