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

Optimized JLink build #11

Open
TarCV opened this issue May 4, 2020 · 0 comments
Open

Optimized JLink build #11

TarCV opened this issue May 4, 2020 · 0 comments
Assignees

Comments

@TarCV
Copy link
Owner

TarCV commented May 4, 2020

There are three ways to build debotc:

  • usual JAR - Pro: fastest execution time, JAR is just 5MB; Con: requires Java Runtime, JAR+JRE size is huge (probably close to 400MB)
  • jlinked distribution - Pro: standalone distribution, as fast as JAR build; Con: might be big (up to 50MB)
  • Kotlin native build - Pro: standalone distrubtion of just one file, small (3MB); Con: slow execution

1 and 3 are mostly implemented.
2 is done on jlink branch, but probably is not optimal - it makes sense to try removing unused Kotlin modules.

@TarCV TarCV self-assigned this May 4, 2020
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