<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">Hi Pavel,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">yes, I don't think the current JIT can get much faster. It improves bytecode speed, but does nothing for sends, which is the more important part.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">I don't have much free time in the near future, but I have written up some ideas for a better JIT:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><a href="https://github.com/bertfreudenberg/SqueakJS/wiki/JIT-Ideas">https://github.com/bertfreudenberg/SqueakJS/wiki/JIT-Ideas</a></font><br></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">This is a wiki, feel free to edit / add.</font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">- Bert -</font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 May 2018 at 15:12, Pavel Krivanek <span dir="ltr"><<a href="mailto:pavel.krivanek@gmail.com" target="_blank">pavel.krivanek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr">Hi,<div><br></div><div>I started with the Craig's version so I will need to synchronize it with your latest code. I tried to solve everything on the image level and I did changes only related to ad-hoc debugging so there will probably be nothing to contribute right now. However, some changes in the VM code will be required for real issues solutions so I will definitely send some PRs. </div><div><br></div><div>I wanted to ask how do you see the future development of SqueakJS. Do you think that you will have again more time for it in near future (because you are the person with the deepest knowledge of it)? Do you have some concrete ideas how to do next speed improvements? The current code looks already near to the <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">local<span> </span></span>optimum and next speedup will not be a piece of cake.</div><div><br></div><div>Cheers,</div><div>-- Pavel   </div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-21 23:00 GMT+02:00 Bert Freudenberg <span dir="ltr"><<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div class="gmail-m_-7470867239574787423h5"><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:arial,sans-serif;color:rgb(34,34,34)">On 21 May 2018 at 03:01, Pavel Krivanek </span><span dir="ltr" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><<a href="mailto:pavel.krivanek@gmail.com" target="_blank">pavel.krivanek@gmail.com</a>></span><span style="font-family:arial,sans-serif;color:rgb(34,34,34)"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>with some tweaks mostly related to FFI and fonts, we are able to run Pharo 7 on SqueakJS VM.</div><div><br></div><div>Do not expect blazing performance. Currently, it is about two orders of magnitude slower than the native VM. </div><div><br><div><a href="https://pavel-krivanek.github.io/pharo/pharo.html" target="_blank">https://pavel-krivanek.github.<wbr>io/pharo/pharo.html</a></div></div><div><br></div><div>Cheers,</div><div>-- Pavel</div></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div></div></div><div class="gmail_extra"><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">​Awesome!​</div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">Did you have to make changes to the image or the VM? Or both?</div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">If you have any pull-requests for the VM I'd be happy to integrate :) </div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">Please reply to vm-dev.</div><span class="gmail-m_-7470867239574787423HOEnZb"><font color="#888888"><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">- Bert -</div><br></font></span></div><div class="gmail_extra"><br></div></div>
</blockquote></div><br></div>
<br></blockquote></div><br></div></div>