Replies: 5 comments 4 replies
-
Yes absolutely, see here: https://mojodojo.dev/mojo_team_answers.html#producing-binaries |
Beta Was this translation helpful? Give feedback.
-
Is there any timeframe on this? I would love to be able to call mojo functions through another languages C-FFI (e.g. Rust). |
Beta Was this translation helpful? Give feedback.
-
So I looked into it a while ago I got the answer not yet I would like to hear an update |
Beta Was this translation helpful? Give feedback.
-
You're right that the extern keyword is there, but it's not something that we've documented beyond the release notes. The reason being is that the feature isn't fully baked yet, and we don't want to encourage usage that will likely change in the future and whose usage would feel like a hack. |
Beta Was this translation helpful? Give feedback.
-
In the roadmap, it is mentioned that Mojo will be able to leverage C/C++ modules. I wonder if in the future, a Mojo program can be compiled into static and dynamic libraries that can be consumed by C/C++ projects?
Beta Was this translation helpful? Give feedback.
All reactions