<div dir="ltr">Hi,<div><br class="gmail-Apple-interchange-newline">That question should be asked on vm-dev.<br></div><div><br></div><div>Just a detail, multibytecode set support is prior to the Sista implementation, it was used for example in the context of Newspeak (Squeak and Newspeak bytecodes supported together). Sista uses that feature, which makes it look like new in the Pharo community since afaik no one used it before in the context of Pharo.</div><div><br></div><div>Then yes it is feasible to have the VM process Java bytecode, but it's humongous work. On the top my head, we would need to support typed bytecodes for Numbers and exceptions at the bytecode level (which in itself is month of work, imagine raising an exception from Java/ST and catch it from the other runtime, with multiple ensure/try finally in between)</div><div><br></div><div>Note that supporting the Java bytecode is far from enough to be able to run Java code (We also need core Java libraries support at least, including exceptions/stack reification model that should be able to interact with each other)</div><div><br></div><div>You can have a look at Smalltalk/X where the VM can run Java, C and Smalltalk.</div><div><br></div><div>Regards</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 1:57 PM, Ben Coman <span dir="ltr"><<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Just wondering about an exotic idea, with Sista facilitating alternate bytecodes (btw, is that multiple bytecode sets within one Image?), how feasible would it be to have the VM process Java bytecode?<div><br></div><div>cheers -ben</div></div>
</blockquote></div><br></div>