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

Get a Rust -> C++ FFI and C++ -> Rust FFI example working #53

Open
vkottler opened this issue Jul 31, 2023 · 3 comments
Open

Get a Rust -> C++ FFI and C++ -> Rust FFI example working #53

vkottler opened this issue Jul 31, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@vkottler
Copy link
Owner

We'll need to expose some configuration options for arguments to pass rustc. Overall still quite a bit to do for this, and more research to do.

From the horse's mouth: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#using-extern-functions-to-call-external-code

See also: #48.

@vkottler
Copy link
Owner Author

Besides a technical example of one-off source files showing language interoperability, the larger question is how to get project and crate interoperability.

e.g. could a yambs project also exist as a Rust crate all in one?

@vkottler
Copy link
Owner Author

We should see what this is all about, too: https://conan.io/

Maybe we could integrate with it?

@vkottler
Copy link
Owner Author

vkottler commented Aug 1, 2023

We can put this aside until we have a legitimate need for FFI or package management outside of the GitHub + local source system we have now.

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

No branches or pull requests

1 participant