You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really incredible to be able to utilize non-JVM languages to drive Polyglot GraalVM programs.
I'm most experienced with Javascript/Typescript, and have a couple years of professional Ruby dev experience + use Python (like most folks I assume) occasionally for random tasks.
Unfortunately, though Graal supports all of these languages for the most part, the only place where it doesn't really is if you want to use them to be the host language and call out to other languages as guests 🙁
What this scenario would look like in Graal, illustrated by @chumer is roughly:
Or, as you'd be running it in the actual scenario (IE a Graal Node process):
varContext=Java.type('org.graalvm.polyglot.Context');varc=Context.newBuilder().build();// Could be Python, Ruby, whatnotc.eval('js',"console.log('Hello inner world!')");c.close();
But as of now, due to #631 the problem is that this causes:
Christian mentioned a fix for this may be targeted for 21.3.0 but I just wanted to file the issue here in case anyone else was interested in tracking this.
I tried this tonight with 21.3.0-dev from latest nightly releases and it hasn't changed yet, just in case anyone else is curious
(Feel free to close if this isn't acceptable/wanted)
Express whether you'd like to help contributing this feature
If you'd like to contribute, please read the contribution guide.
Sure, I'm not certain I can be of much use but I'll help out where I can if wanted =)
The text was updated successfully, but these errors were encountered:
Feature request
It would be really incredible to be able to utilize non-JVM languages to drive Polyglot GraalVM programs.
I'm most experienced with Javascript/Typescript, and have a couple years of professional Ruby dev experience + use Python (like most folks I assume) occasionally for random tasks.
Unfortunately, though Graal supports all of these languages for the most part, the only place where it doesn't really is if you want to use them to be the host language and call out to other languages as guests 🙁
What this scenario would look like in Graal, illustrated by @chumer is roughly:
Or, as you'd be running it in the actual scenario (IE a Graal Node process):
But as of now, due to #631 the problem is that this causes:
Christian mentioned a fix for this may be targeted for
21.3.0
but I just wanted to file the issue here in case anyone else was interested in tracking this.(Feel free to close if this isn't acceptable/wanted)
Express whether you'd like to help contributing this feature
If you'd like to contribute, please read the contribution guide.
Sure, I'm not certain I can be of much use but I'll help out where I can if wanted =)
The text was updated successfully, but these errors were encountered: