<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">Am 18.12.2017 14:56 schrieb "Benito van der Zander" <<a href="mailto:benito@benibela.de">benito@benibela.de</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div id="m_-2038860555279090546smartTemplate4-template"><br><div class="quoted-text"><blockquote type="cite"><pre>Isn't speed the main idea of using pointers?
</pre>
</blockquote>
<p></p>
</div><p>It would be to port all existing pascal code</p></div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">But that isn't the goal of pas2js. That is what WebAsm is for. </div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><div id="m_-2038860555279090546smartTemplate4-template"><div class="quoted-text"><p><br>
</p>
<p>
</p><blockquote type="cite">
<pre>You may want to take a look at asm.js, which has a working
model for emulating pointers in JavaScript. It would be possible to add
a pas2js target for that. But then again there is webassembly
as well and it seems to have better support.
</pre>
</blockquote>
<p></p>
<br></div>
That model looks like quite a slow down<br></div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Considering that asm.js and its successor WebAsm can be used to run ordinary computer games (e.g. DOS games running in DosBox, though there are also more modern examples - then again running a VM is no small feat either) I'd say that it works fast enough. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><div id="m_-2038860555279090546smartTemplate4-template"></div></div></blockquote></div></div></div></div>