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

Bundle native libraries as part of the executable #11

Closed
happybeing opened this issue Sep 29, 2018 · 1 comment
Closed

Bundle native libraries as part of the executable #11

happybeing opened this issue Sep 29, 2018 · 1 comment

Comments

@happybeing
Copy link
Owner

We currently use pkg to create an executable, and I did some experiments with nexe for comparison.

One of the issues with both is that of bundling 'native' libraries (platform specific binaries/dlls). nexe seems a bit better at this in some ways, but I decided to stay with pkg because there were some outstanding problems with nexe and even if I solved those it still couldn't get around the fundamental problem that naive binaries need to exist on the file system, so need to be extracted before they can be used, even if to start with they are bundled in the executable.

So this issue has two elements:

  1. At least bundle everything into the executable so we can avoid distributing a zip which the user has to extract themselves. So the executable would do this when run.

  2. Do the impossible and also avoid the need to create files on the file system!

The following pkg issue attempts to solve 1) but also suggests 2) might also be possible:

vercel/pkg#329

cc @bzee, @lukas

@happybeing happybeing changed the title Bundle native libraries as post of the executable Bundle native libraries as part of the executable Sep 30, 2018
@happybeing
Copy link
Owner Author

Closing in favour of issue #3 in new SAFE Drive repo as this repo is no longer in use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant