feat: native-image compatibility #3

Open
opened 2024-08-18 20:49:25 +02:00 by JeremyStarTM · 1 comment
Owner

Feature description

The ability to compile and run the engine and all of it's official subsystems natively using native-image would be a nice thing. Compiling an application using native-image would allow for greater rendering performance for games and faster startup and response times for applications running on servers.

Feature implementation

Fixing any crashes occurring during runtime and on startup.

Feature alternatives

No response

### Feature description The ability to compile and run the engine and all of it's official subsystems natively using [`native-image`](https://www.graalvm.org/latest/reference-manual/native-image/) would be a nice thing. Compiling an application using `native-image` would allow for greater rendering performance for games and faster startup and response times for applications running on servers. ### Feature implementation Fixing any crashes occurring during runtime and on startup. ### Feature alternatives _No response_
JeremyStarTM added the
FeatureRequest
New
label 2024-08-18 20:49:25 +02:00
Author
Owner

After a bit of debugging, it seems like the issue first appears here in Engine#collectSubsystems. The Reflections library seems to be the culprit. Another good reason to continue working on #2.

After a bit of debugging, it seems like the issue first appears [here](https://git.staropensource.de/StarOpenSource/Engine/src/commit/05b9644eba5263809b6655dabb92669523a95805/base/src/main/java/de/staropensource/sosengine/base/Engine.java#L323) in `Engine#collectSubsystems`. The Reflections library seems to be the culprit. Another good reason to continue working on #2.
JeremyStarTM added the
Blocked
ByDependency
label 2024-08-20 20:15:09 +02:00
JeremyStarTM added
FeatureRequest
Accepted
and removed
FeatureRequest
New
labels 2024-08-20 20:25:46 +02:00
JeremyStarTM added this to the v1-release0 milestone 2024-08-21 00:14:15 +02:00
JeremyStarTM removed this from the v1-release0 milestone 2024-08-21 00:14:19 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: StarOpenSource/Engine#3
No description provided.