<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Eyal Rozenberg wrote on 07.03.18 21:07:<br>
</div>
<blockquote type="cite"
cite="mid:47d54736-c573-e245-334c-bcf3f3650dc8@technion.ac.il">
<pre wrap="">Can you be specific about the application whose conversion from C++ to JS
you had led, as an example?</pre>
</blockquote>
<p><br>
</p>
<p>No, because this was for a customer.</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:47d54736-c573-e245-334c-bcf3f3650dc8@technion.ac.il">
<pre wrap="">Maybe JS is fast enough like you suggest; still, that's a weird argument
you're making about the "10 to 1" when many people (like me) have not
heard about any one of these 10.</pre>
</blockquote>
<p><br>
</p>
<p>Most of these are in the form of webapps replacing older native
apps.</p>
<p>Most users use Gmail instead of Thunderbird and Outlook. That
includes power users that are speed-sensitive. In fact, that's
Thunderbird's main competitor: webmail.</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:47d54736-c573-e245-334c-bcf3f3650dc8@technion.ac.il">
<pre wrap="">I would also be interested to see some robust performance comparisons
between JS and native versions of certain libraries to be able to
asssess this claim of similar performance to native code.</pre>
</blockquote>
<p>See asm.js <a class="moz-txt-link-rfc2396E" href="https://en.wikipedia.org/wiki/Asm.js"><https://en.wikipedia.org/wiki/Asm.js></a>. They've
even compiled 3D game engines in JS and ran them at usable speeds,
and a number of other applications.<br>
</p>
<p>That proves that JS is suitable both for<br>
a) UI, including a mail client UI (see Gmail), and<br>
b) performance-sensitive core code (see asm.js-based projects).</p>
<br>
</body>
</html>