<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On Tue, May 24, 2016 at 8:43 PM, Erik Dominikus <span dir="ltr"><<a href="mailto:erik.dominikus71@gmail.com" target="_blank">erik.dominikus71@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">(Please keep expectations low for now; this is just a weekend project.)<br>
<br>
I have written, in Haskell, something that aspires to be a Java<br>
Virtual Machine (but I don't call it a JVM yet as it doesn't fully<br>
comply with the spec). The code is available here:<br>
<br>
<a href="https://github.com/edom/haji" rel="noreferrer" target="_blank">https://github.com/edom/haji</a><br>
<br>
This is similar to Frege [3], but while Frege aims to run a variant of<br>
Haskell on Java, this project tries the other direction: running a<br>
subset of Java on Haskell.<br>
<br></blockquote><div><br></div><div>I think it can be really interesting for Java community if you implement Java-runtime directly the same way GHC-runtime is implemented, i.e. Java-threads as GHC's IO-threads (i. e. green threads) and Java-I/O as GHC's input-output (which is asynchronous internally to support green-threading model).<div><br><div class="gmail_extra">--<br clear="all"><div><div class="gmail_signature">Victor Nazarov</div></div></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
Some related stuffs:<br>
<br>
[1] <a href="https://github.com/MateVM/MateVM" rel="noreferrer" target="_blank">https://github.com/MateVM/MateVM</a><br>
[2] <a href="https://hackage.haskell.org/package/hs-java" rel="noreferrer" target="_blank">https://hackage.haskell.org/package/hs-java</a><br>
[3] <a href="https://github.com/Frege/frege" rel="noreferrer" target="_blank">https://github.com/Frege/frege</a><br>
[4] <a href="https://wiki.haskell.org/GHC:FAQ#Why_isn.27t_GHC_available_for_.NET_or_on_the_JVM.3F" rel="noreferrer" target="_blank">https://wiki.haskell.org/GHC:FAQ#Why_isn.27t_GHC_available_for_.NET_or_on_the_JVM.3F</a><br>
[5] <a href="https://github.com/levans/Open-Quark" rel="noreferrer" target="_blank">https://github.com/levans/Open-Quark</a><br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div></div></div>