What next for Pharo vm?
I was thinking the vm is able to run more than one bytecode set. Why couldnât our vm support both Pharo and Java bytecodes? Sent from ProtonMail Mobile
On 22 April 2018 at 22:03, henry <henry@callistohouse.club> wrote:
I was thinking the vm is able to run more than one bytecode set. Why couldnât our vm support both Pharo and Java bytecodes?
Some previous discussion here... http://forum.world.st/java-interpreter-compiler-hosted-with-Spur-td4739237.h... cheers -ben
On 22/04/2018 11:03, henry wrote:
I was thinking the vm is able to run more than one bytecode set. Why couldnât our vm support both Pharo and Java bytecodes?
Smaltallk/X provides that Smalltalk/Java code duality. But I think if Pharo ever pursues that path the best thing would be to make it run in a VM such as Truffle/GraalVM [1]. A longest path maybe, but you'll be able to piggyback on an existing community of VM developers, and be able to interact not only with Java but it other languages as well. [1] https://www.graalvm.org/ Regards! -- Esteban A. Maringolo
I was thinking the vm is able to run more than one bytecode set. Why couldnât our vm support both Pharo and Java bytecodes?
Perhaps a simpler way is to make a translator from Java bytecodes -> Pharo (Sista) bytecodes. I believe that ikvm did something similar for .NET. The hardest part of this would actually be on parsing the .class files. Best regards, Ronie 2018-04-22 21:31 GMT-03:00 Esteban A. Maringolo <emaringolo@gmail.com>:
On 22/04/2018 11:03, henry wrote:
I was thinking the vm is able to run more than one bytecode set. Why couldnât our vm support both Pharo and Java bytecodes?
Smaltallk/X provides that Smalltalk/Java code duality.
But I think if Pharo ever pursues that path the best thing would be to make it run in a VM such as Truffle/GraalVM [1]. A longest path maybe, but you'll be able to piggyback on an existing community of VM developers, and be able to interact not only with Java but it other languages as well.
Regards!
-- Esteban A. Maringolo
participants (4)
-
Ben Coman -
Esteban A. Maringolo -
henry -
Ronie Salgado