-
Notifications
You must be signed in to change notification settings - Fork 0
Description
An Advanced FFI has to happen! We need a function that you can just throw an so
/dylib
/dll
at that then makes you bindings for it. We need it to be completely constexpr
(it has to run at compile time and statically link the lib in) and fully cross-platform. (Android and iOS support is actually quite easy if it's compile-time) Maybe having a C++ header would make this a little bit easier for the time being (let's just use libclang
), but ideally it would even work without.
This feature is required for Adscriptum, because then we can just link in Qt and we have a UI.
If we're gonna make a language package manager, it should also support specifying C/C++ dependencies.
And support for Rust might be cool at some point, but that shouldn't be a priority rn.