<div dir="ltr">Do you want good performance?<div>Do you want to use the ManagedObject layer provided by WASM or OpenSmalltalk-VM own GC? The latter would require to keep a shadow stack since the WASM stack cannot be walked easily for GC.</div><div>Do you want to JIT to WASM or just an interpreter?</div><div><br></div><div>My main concern is that implementing high level languages on top of WASM is just starting to be possible in a nice way, and I think we should wait for other people to struggle and to re-negotiate some APIs with the WASM people before trying. Each WASM API change have to be validated by multiple people from different companies after being prototyped, so it can take time.</div><div><br></div><div>Depending on what you want it may not be 10M$, but if you want a solid high-performance low-memory-footprint runtime and you don't want to wait multiple years for other people to struggle implementing other languages first, that would be a fair initial investment.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 9:36 PM Eric Gade <<a href="mailto:notifications@github.com">notifications@github.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <p>Hello all! As some of you might be aware, there has been a lot of progress in the web-world in developing <a href="https://webassembly.org/" rel="nofollow" target="_blank">WebAssembly</a>. Many environments and languages can now compile to the wasm binary format. Projects are doing things like <a href="https://github.com/iodide-project/pyodide" target="_blank">putting full Python interpreters and environments in the browser</a>, etc. There is even a nascent movement to come up with a consistent <a href="https://hacks.mozilla.org/2019/03/standardizing-wasi-a-webassembly-system-interface/" rel="nofollow" target="_blank">system interface standard</a> for WebAssembly, allowing developers to run wasm code on any platform -- not just the web.</p>
<p>My question is this: what would it take to get the opensmalltalk-vm to compile to WebAssembly and has anyone involved with it considered the option so far?</p>
<p>There would be a great many advantages to running a Smalltalk in the browser this way.</p>

<p style="font-size:small;color:rgb(102,102,102)">—<br>You are receiving this because you are subscribed to this thread.<br>Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/387" target="_blank">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AhLyWzlKbLZ9XGdp_9AaYbo8q1Lg3k4_ks5vbSfpgaJpZM4cRFsD" target="_blank">mute the thread</a>.<img src="https://github.com/notifications/beacon/AhLyW7E0djiUIeIXBMgMsr0SY2hedo2pks5vbSfpgaJpZM4cRFsD.gif" height="1" width="1" alt=""></p>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span style="font-size:12.8px">Clément Béra<br></span><span style="color:rgb(0,0,238)"><a href="https://clementbera.github.io/" target="_blank">https://clementbera.github.io/</a></span><div style="font-size:12.8px"><a href="https://clementbera.wordpress.com/" target="_blank">https://clementbera.wordpress.com/</a></div></div></div></div></div></div>