<div dir="ltr"><div dir="ltr"><div>Hi Paul,</div><div><br></div><div>Thanks for the thoughtful reply.<br></div></div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">We are not generally trying to support the transformation of whole Java programs to other programming platforms (similar I guess to transpilation). Nor are we trying to enhance the Java platform to provide a universal intermediate language. A main goal of Babylon is to broaden Java’s reach to foreign programming models. Arguably a more realistic and less ambitious goal :-)<br></blockquote><div><br></div><div>That makes sense for the concrete use cases that are being talked about, and it's a prudent conservative approach to getting started.</div><div><br></div><div>I just also have a gut feeling that there could eventually be a lot more to this than is clear now, analogous to all the ways the JVM is being used today beyond just the Java language. I guess it can come over time - gotta start somewhere.</div><div><br></div><div>Lifting from bytecode can be an intermediate workaround for those ideas, so I guess we'll see what people may come up with in any case.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Much of Java’s core libraries are naturally written with Java in mind and the workings of the JVM (what else would we have in mind :-) ), trying to reinterpret that differently, or emulating, will be problematic.</blockquote><div><br></div><div>Sure, maybe lots of code is highly optimized for running on the JVM, but as long as the code doesn't (indirectly) invoke any native methods you should still be able to slurp it into whatever giant transformation you're doing. Hopefully the optimizations would get sophisticated enough over time so that those original details would come out in the wash out so to speak.<br></div><div><br></div><div>Thanks,<br></div><div>-Archie<br></div></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Archie L. Cobbs<br></div></div>