Replies: 4 comments 1 reply
-
Currently no. The Virgil compiler always produces a statically linked executable. Would your use case need linking a .so? |
Beta Was this translation helpful? Give feedback.
-
Yes (it's for a preexisting game engine that can use external dll's for scripting languages support. No hurry though, as I don't expect their docs/API to be finalized in a couple months from now |
Beta Was this translation helpful? Give feedback.
-
I don't have the bandwidth on that atm, but off the top of my head, it would require emitting an additional section for the dynamic linker and some internal compiler work to deal with addresses that aren't fixed. |
Beta Was this translation helpful? Give feedback.
-
If I'm not mistaken (I'm not yet really a systems coder), this would allow for development of numerical libraries in virgil, that could be called by other code (e.g a GUI) written in another language? If so this could help boost adoption quite a bit if it was advertised that way. I've spent a lot of time looking into ways of avoiding C++ :) |
Beta Was this translation helpful? Give feedback.
-
Title.
Beta Was this translation helpful? Give feedback.
All reactions