GithubHelp home page GithubHelp logo

anyicomplex / gdx-svmhelper Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 233 KB

Experimental helper for libGDX to build GraalVM Native Image.

Home Page: https://anyicomplex.github.io/gdx-svmhelper/

License: Apache License 2.0

Java 100.00%
libgdx graalvm-native-image java lwjgl3 multi-os-engine

gdx-svmhelper's Introduction

#include "anyicomplex.h"

int main(int argc, char **argv) {
    anyi::destroy("Because of some force majeure, \n"
                  "I will withdraw from the internet for a period of time, \n"
                  "may come back someday, or may not forever.");
    return -1;
    anyi::say("Contact me:\n"
              "Discord label: anyicomplex#8499\n"
              "Discord channel: https://discord.gg/aMV449WD\n"
              "Email address: [email protected]");
    anyi::say("Favorite programming languages: Java, C/C++, Object Pascal.");
    anyi::say("Date of Birth: 2000-12-08.");
    return anyi::check_err();
}

gdx-svmhelper's People

Contributors

anyicomplex avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

berstanio

gdx-svmhelper's Issues

Questions about configs

Hey,
I'm currently implementing a native-image backend for iOS. I'm curios about your reflection config!

  1. Can you estimate how complete the reflection collection for libGDX is?
  2. Is the whole json serialization supported or does it need extra configuration?
  3. You include all subclasses and constructors etc. for reflection access. How much bigger is the resulting image with this approach in contrast to specific created configs with the native image agent?
  4. Extensions like e.g. are not supported, right? If you want you can take a look here, I made a feature for bullet: https://github.com/Berstanio/libgdx/blob/metal/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/svm/ConfigCollectionFeatureBullet.java

Thanks in advance!

Investigate possibility to create Annotation for Relfection use

It would be nice to provide a annotation e.g. @ Reflection and than all classes annotated with that would get added.
The problem is, that for that we would need to analyze the whole classpath/all loaded classes. This is probably doable with the ApplicationClassLoader, but how much time this costs and whether native-image/graal does something weird with the classloaders needs to be tested.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.