Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mechanism to distribute and use close source dart library such as .so, .dll, .dylib in c/c++ project. #50667

Open
hndrbrm opened this issue Dec 9, 2022 · 1 comment
Labels
area-tools A general category for issues that we think should be addressed by tooling.

Comments

@hndrbrm
Copy link

hndrbrm commented Dec 9, 2022

I have read in the docs, that dart could be compiled as AOT.
I think its like .obj file in c after compiled.

In c they could package these obj into some dynamic library, which we could use into another project without knowing the source code of the library.

I have googling whether dart have the same feature, but unfortunately it is not.
It is useful to distribute close source library to be used on to other Project.

@insinfo
Copy link

insinfo commented Dec 9, 2022

I think the ideal would be for the native dart compiler to have a target for dynamic libraries, just as it has to create native executables today

@lrhn lrhn added the area-tools A general category for issues that we think should be addressed by tooling. label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tools A general category for issues that we think should be addressed by tooling.
Projects
None yet
Development

No branches or pull requests

3 participants