Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
August 30, 2019 Graal VM | ||||
---|---|---|---|---|
| ||||
Hello everyone, Has anyone heard of GraalVM [1]? It seems that this is a virtual machine that enables the writing of polyglot applications (applications that can mix code from different languages). The supported languages are Java-based (Scala, Kotlin), dynamic languages (Javascript, R, Ruby, Python) and LLVM-based languages (C and C++). This sounds like a really cool thing and I was wondering if D could be integrated with this (via ldc), What do you guys think? Cheers, RazvanN [1] https://www.graalvm.org/docs/reference-manual/polyglot/ |
August 30, 2019 Re: Graal VM | ||||
---|---|---|---|---|
| ||||
Posted in reply to RazvanN | On Friday, 30 August 2019 at 10:56:05 UTC, RazvanN wrote: > Hello everyone, > > Has anyone heard of GraalVM [1]? [snip] I had heard about it last year I think. Laeeth had tried to use dpp with it [1], but I haven't heard anything since then. [1] https://forum.dlang.org/post/ykvgbfstbyeaysmihqqm@forum.dlang.org |
August 30, 2019 Re: Graal VM | ||||
---|---|---|---|---|
| ||||
Posted in reply to RazvanN | On Friday, 30 August 2019 at 10:56:05 UTC, RazvanN wrote: > Hello everyone, > > Has anyone heard of GraalVM [1]? It seems that this is a virtual machine that enables the writing of polyglot applications (applications that can mix code from different languages). The supported languages are Java-based (Scala, Kotlin), dynamic languages (Javascript, R, Ruby, Python) and LLVM-based languages (C and C++). This sounds like a really cool thing and I was wondering if D could be integrated with this (via ldc), > > What do you guys think? > > Cheers, > RazvanN > > [1] https://www.graalvm.org/docs/reference-manual/polyglot/ Take a look at what Dmitry has recently been up to: https://github.com/DmitryOlshansky/dmd-graal ;) |
August 30, 2019 Re: Graal VM | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On Friday, 30 August 2019 at 20:23:13 UTC, Petar Kirov [ZombineDev] wrote:
> On Friday, 30 August 2019 at 10:56:05 UTC, RazvanN wrote:
>> Hello everyone,
>>
>> Has anyone heard of GraalVM [1]? It seems that this is a virtual machine that enables the writing of polyglot applications (applications that can mix code from different languages). The supported languages are Java-based (Scala, Kotlin), dynamic languages (Javascript, R, Ruby, Python) and LLVM-based languages (C and C++). This sounds like a really cool thing and I was wondering if D could be integrated with this (via ldc),
>>
>> What do you guys think?
>>
>> Cheers,
>> RazvanN
>>
>> [1] https://www.graalvm.org/docs/reference-manual/polyglot/
>
> Take a look at what Dmitry has recently been up to:
>
> https://github.com/DmitryOlshansky/dmd-graal
>
> ;)
He should share his thoughts on the matter, but I think getting a SAoC / GSoC student to help would go along way to making many things in this area possible.
|
September 03, 2019 Re: Graal VM | ||||
---|---|---|---|---|
| ||||
Posted in reply to jmh530 | On Friday, 30 August 2019 at 12:34:50 UTC, jmh530 wrote:
> On Friday, 30 August 2019 at 10:56:05 UTC, RazvanN wrote:
>> Hello everyone,
>>
>> Has anyone heard of GraalVM [1]? [snip]
>
> I had heard about it last year I think. Laeeth had tried to use dpp with it [1], but I haven't heard anything since then.
>
> [1] https://forum.dlang.org/post/ykvgbfstbyeaysmihqqm@forum.dlang.org
Dmitry O told me about it. When I got back home I tried using LDC in betterC mode and it just worked. I did some work that I didn't finish on making a wrapper out of polyglot.h
Problem with porting runtime too is that graal doesn't have pthread even. I guess you could fake that and anything else you might need but I figure calling C# should come first for us right now.
Dmitry looks to be working on transpiling D to Java via DMD motivated by running on Graal. I think he has Scala code at work but maybe other benefits from Graal. Very cool once it works.
|
September 03, 2019 Re: Graal VM | ||||
---|---|---|---|---|
| ||||
Posted in reply to RazvanN | On Friday, 30 August 2019 at 10:56:05 UTC, RazvanN wrote:
> Hello everyone,
>
> Has anyone heard of GraalVM [1]? It seems that this is a virtual machine that enables the writing of polyglot applications (applications that can mix code from different languages). The supported languages are Java-based (Scala, Kotlin), dynamic languages (Javascript, R, Ruby, Python) and LLVM-based languages (C and C++). This sounds like a really cool thing and I was wondering if D could be integrated with this (via ldc),
>
> What do you guys think?
>
> Cheers,
> RazvanN
>
> [1] https://www.graalvm.org/docs/reference-manual/polyglot/
Maybe similar sort of approach to how Sebastian Koppe is approaching wasm might be easiest?
|
September 04, 2019 Re: Graal VM | ||||
---|---|---|---|---|
| ||||
Posted in reply to Laeeth Isharc | On 2019-09-04 00:55, Laeeth Isharc wrote: > Dmitry looks to be working on transpiling D to Java via DMD motivated by running on Graal. Better to do it the other way around [1] :) [1] https://github.com/d-widget-toolkit/jport/tree/dev -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation