External DLL support in Mojo #508
Locked
sune-gaulsh
started this conversation in
Ideas
Replies: 2 comments
-
This should already work, but it is super low level. This is how we talk to the CPython interpreter for example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@sune-gaulsh . Take a look at the external_call function (https://docs.modular.com/mojo/MojoStdlib/Intrinsics.html#external_call) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be really awesome if Mojo supported calling functions from external dlls via external function pointers and passing pointers to preallocated memory. I am thinking C/C++/Fortran etc.
Beta Was this translation helpful? Give feedback.
All reactions