V has interoperability with C, but does it with C++? #18375
Answered
by
medvednikov
przemyslaw0
asked this question in
Questions and Answers
-
I'm asking this just for curiosity. If has not, why not implementing this feature? Also, Objective C interoperability would be a good idea, Nim has it. Another question, has V support for calling dynamic libraries as Rust and Nim have? |
Beta Was this translation helpful? Give feedback.
Answered by
medvednikov
Jun 8, 2023
Replies: 2 comments 8 replies
-
You can call C++ code just like you'd do it in C: via a C wrapper (export "C"). Dynamic libs support is coming in the near future. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
przemyslaw0
-
I'm using Objective-C code with V, no problem. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can call C++ code just like you'd do it in C: via a C wrapper (export "C").
Dynamic libs support is coming in the near future.