Skip to content

AAFFI #1

Description

@pixelcmtd

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions