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

Remove Java dependency #5

Closed
valentjn opened this issue Sep 7, 2019 · 3 comments
Closed

Remove Java dependency #5

valentjn opened this issue Sep 7, 2019 · 3 comments
Assignees
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature 3-fixed Issue resolution: Issue has been fixed on the develop branch
Milestone

Comments

@valentjn
Copy link
Owner

valentjn commented Sep 7, 2019

GraalVM is a possibility to compile Java programs to bytecode; the resulting executables don't need a JVM anymore. This would eliminate the need to install Java to use LTEX. However, I see some challenges:

  • The language extensions also have Java code in them and would have to be compiled to shared libraries.
  • The binaries would be platform-dependent. Currently, I don't see a way to have different *.vsixs for different platforms, so the preferable way seems to be downloading the platform-dependent parts on demand after installing the extension. We would still have to provide *.vsix files for offline installation.
@valentjn valentjn added the 1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature label Sep 7, 2019
@valentjn valentjn self-assigned this May 14, 2020
@valentjn
Copy link
Owner Author

I have tried GraalVM, but it only supports a subset of all Java features, especially with respect to reflection.

I'm currently working on having LTEX download Java on-demand if it cannot be found on the system (people will be able to override this with a setting). That's more or less equivalent to what's said in the description above. There will be an option to download an offline version of LTEX that already contains Java.

@valentjn
Copy link
Owner Author

I deem this as fixed with the upcoming LTEX 5.x as shipping JARs together with a JRE is basically the same as shipping binaries, from a user perspective.

@valentjn valentjn added the 3-fixed Issue resolution: Issue has been fixed on the develop branch label May 24, 2020
@valentjn
Copy link
Owner Author

valentjn commented Jun 1, 2020

Fix released in 5.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature-request ✨ Issue type: Request for a desirable, nice-to-have feature 3-fixed Issue resolution: Issue has been fixed on the develop branch
Projects
None yet
Development

No branches or pull requests

1 participant