Static Java #107
Labels
No Label
blocked upstream
bug
build-failure
duplicate
enhancement
help wanted
informational
invalid
invalid/corrupt package
packaging issue
priority: high
question
support
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ALHP/ALHP.GO#107
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey guys,
I was wondering if someone already tried to compile java programs natively.
There's the JLang project which compiles Java source code to LLVM-IR which then can be compiled natively. But JLang looks quite dead.
And there's GraalVM which offers a way to create native images.
As Java programs tend to be very slow on startup and generally pretty memory hungry I thought it might be interesting to have a look at this. :)
Hi @RubenKelevra,
while I would like speeding up java applications somewhat, the projects you suggested seem to me like a lot of PKGBUILD editing is needed (to an extent that you can call it a completely different package, IMHO).
I do not see this happening, since this would take up a considerable chuck of time, which I currently do not have (and probably never will). If we ever find something that can speed up java programs, without requiring massive manual efforts, I'm all ears.
@anonfunc I found one package already using this on the AUR. Looks like setting one enviromental variable is enough (in this case):
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=lucene-grep-git
So it's more a make file replacement than a PKGBUILD patch... yeah but I see your point. :)
Please reopen this if there is anything we can do with flags or the shim (if that is a thing sometimes in the future).
For the time, this is not feasible.