You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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:
We currently use
pkg
to create an executable, and I did some experiments withnexe
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 withpkg
because there were some outstanding problems withnexe
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:
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.
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
The text was updated successfully, but these errors were encountered: