-
Notifications
You must be signed in to change notification settings - Fork 150
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
Using Jenetics with GraalVM #538
Comments
I have been running some of the provided examples as well as custom experiments on GraalVM for version 8.0.0 of Jenetics and haven't run into any problems yet 👍 |
Great! I haven't had time jet to tryout GraalVM myself. It would be amazing if you could post a short description what you did and how you ran the examples. :) Regards |
In short:
Java isn't my primary language, so I'm sure there's an easier way than by copying, but it was simple and worked. I haven't tried any GraalVM specific behaviors yet, such as interop. But Jenetics seems to "just work" as is. |
Update: I just tried modifying GrammaticalJavaScriptEvolution.java to use GraalVM's polyglot interop instead of the This basically amounted to replacing the codec with just a
Note that this is just experimental and potentially unsafe because it's not using GraalVM's isolate, which is not available on the community edition. Tested on GraalVM CE 21 with the following dependencies in
|
Make some GA example with Jenetics running with GraalVM and describe how to do so.
The text was updated successfully, but these errors were encountered: