Replies: 1 comment 4 replies
-
I have written CLI that compiles V module into arm64/x86_64 static library and generates header files for use in iOS project. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Struggle
I have been playing with Rust integration for iOS, and one thing I noticed is that syntax wise it sucks.
Why? Because Rust uses C types to actually extern methods from library to end user.
Syntax wise it could be this:
Solution
This could be solved with V. V exports .c files from .v file with ease. Issue is module that are written in V that actually include other modules does not export to .c files, there for .a files can't be created. And this is where issue blocks this idea.
Why would this be beneficial for V?
Imagine writing V module that runs on iOS, Android and ASM. This will make building cross platform modules reality.
Beta Was this translation helpful? Give feedback.
All reactions