4 ms·
I don’t mean Dylibs like you find on macOS, I mean loading a binary lib from an arbitrary directory and being able to use it, without compiling it into the prog
by no_wizard 9mo ago
I don’t mean Dylibs like you find on macOS, I mean loading a binary lib from an arbitrary directory and being able to use it, without compiling it into the program.
It’s been some time since I looked into this so I wanted to be clear on what I meant. I’d be elated to be wrong though
- Groxx 9mo agoBoth handle that just fine. Go does this via cgo, and has for over a decade. You do still need to write the interfacing code, but that's true for all languages.
- vlovich123 9mo agoThen by that argument Rust also supports dynamic linking. Actually it’s even better because that approach sacrifices less performance (if done well) than cgo inherently implies.