Re: Threaded interpreter in Java

2016-08-04 Thread Krystal Mok
Thanks Rémi! On Thu, Aug 4, 2016 at 5:36 PM, Remi Forax wrote: > Hi Krys, > > > On August 3, 2016 3:41:46 PM PDT, Krystal Mok > wrote: > >(Having missed last night's dinner and all the fun there...) > > > >When Rémi started talking about this interpreter today, I thought it'd > >be > >tailcall

Re: Threaded interpreter in Java

2016-08-04 Thread Remi Forax
Hi Krys, On August 3, 2016 3:41:46 PM PDT, Krystal Mok wrote: >(Having missed last night's dinner and all the fun there...) > >When Rémi started talking about this interpreter today, I thought it'd >be >tailcall related. I would love that it was tailcall related too. people seams to reduce tai

Re: Threaded interpreter in Java

2016-08-03 Thread Krystal Mok
(Having missed last night's dinner and all the fun there...) When Rémi started talking about this interpreter today, I thought it'd be tailcall related. In college, my introductory course to computer systems was based on the book "Introduction to Computing Systems: From Bits & Gates to C & Beyond

Re: Threaded interpreter in Java

2016-08-03 Thread Remi Forax
I think it's better to make tab[i].invokeExact(...) a tailcall, so the loop will be part of the implementation, not part of the spec. Rémi - Mail original - > De: "John Rose" > À: "Da Vinci Machine Project" > Envoyé: Jeudi 4 Août 2016 00:14:37 &g

Re: Threaded interpreter in Java

2016-08-03 Thread John Rose
On Aug 3, 2016, at 1:22 PM, Remi Forax wrote: > > Charles ask if we can make a fast register interpreter in Java, > here is my take on a threaded-like interpreter > > https://gist.github.com/forax/f38b533e089217cfc4d0ae3c6e2de9c9 Nicely done. We were talking last night at dinner about making b

Threaded interpreter in Java

2016-08-03 Thread Remi Forax
Charles ask if we can make a fast register interpreter in Java, here is my take on a threaded-like interpreter https://gist.github.com/forax/f38b533e089217cfc4d0ae3c6e2de9c9 Rémi ___ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.ja