Re: [Pharo-users] What next for Pharo vm?

2018-04-22 Thread Ronie Salgado
>
>
> 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 :

> 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
>
>


Re: [Pharo-users] What next for Pharo vm?

2018-04-22 Thread Esteban A. Maringolo
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



Re: [Pharo-users] What next for Pharo vm?

2018-04-22 Thread Ben Coman
On 22 April 2018 at 22: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?
>
>
Some previous discussion here...
http://forum.world.st/java-interpreter-compiler-hosted-with-Spur-td4739237.html

cheers -ben