Loading of modules / functions from .NET ? #5
-
Hello, Congrats for all your work, it already looks promising ! I have some questions about the current capabilities, as I did not find examples of this in you tests (but maybe I looked the wrong way ^^)
|
Beta Was this translation helpful? Give feedback.
Answered by
HyperSphereStudio
Feb 3, 2022
Replies: 1 comment
-
At the moment module loading into the main module can only be done as you said using Julia.Eval("using Module"). Thats a very small expression so I do not see much a performance benefit from doing it via c. I can add a function into JLModule to do this for your if you want though. Refer to JLFun.cs for your answer to #2. var StringF = JLModule.Base.GetFunction("string");
//Then used like StringF.Invoke(my_obj); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HyperSphereStudio
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment module loading into the main module can only be done as you said using Julia.Eval("using Module"). Thats a very small expression so I do not see much a performance benefit from doing it via c. I can add a function into JLModule to do this for your if you want though.
Refer to JLFun.cs for your answer to #2.