<div dir="ltr"><div><div>Wow!!! I didn't know about web assembly!!!<br></div><br>This said, We're not there yet, there will be probably a lot of opposition, like there was with asm.js (people saying we should rather optimize JS engines, as there is apparently lots lots of room for improvement).<br></div><div>Also, writing browser code fully in C++ would be a huge step backwards in terms of usability for software developers. Probably the thing that is going to happen is rather that JS will stay the go to language, and small CPU-intensive functions will be reimplemented using webassembly.<br></div><div>And anyways, even if al of this happen, that won't be for another 5 years before it lands ... and in 5 years so many things can happen in software world (skynet etc ...)!<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 10, 2015 at 6:29 AM, Chris McCormick <span dir="ltr"><<a href="mailto:chris@mccormick.cx" target="_blank">chris@mccormick.cx</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<span class=""><br>
<br>
On 09/09/15 17:41, s p wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Plugins are a bit 2000 ;) flash and java and friends .... they<br>
are going to disappear sooner or later<br>
</blockquote>
<br></span>
Also Javascript:<br>
<br>
<a href="https://brendaneich.com/2015/06/from-asm-js-to-webassembly/#buried-lede" rel="noreferrer" target="_blank">https://brendaneich.com/2015/06/from-asm-js-to-webassembly/#buried-lede</a><br>
<br>
At least, JS will probably become relatively less popular as the language for web browsers in the next 5 years in that you will get C compilers (and Java compilers!) targeting .wasm binary. When they get wasm VMs as efficient as the JVM then things are going to get very interesting.<br>
<br>
Also LISPs, which everybody knows are about to take over at *any moment* between Recursive Functions of Symbolic Expressions and Their Computation by Machine in 1960 and now. Any moment now, I tell you!<br>
<br>
[At this point it's interesting to ask why they didn't just integrate the JVM more tightly/correctly/seamlessly with browsers from about 2001, and, well, *facepalm*.]<br>
<br>
Post-wasm browsers, compiling libpd (and maybe even Pd + tcl heh) for the browser becomes a no-brainer because you just tweak the Makefile to ask GCC to target wasm instead of x86 [please apply Hofstadter's law here]. "Won't Take Long" (tm) etc.<br>
<br>
Cheers,<br>
<br>
Chris.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<a href="http://mccormick.cx/" rel="noreferrer" target="_blank">http://mccormick.cx/</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(153,153,153)"><b><span style="color:rgb(68,68,68)">S</span><span><span style="color:rgb(68,68,68)">ébastien Piquemal</span><br></span></b></span><div><span style="color:rgb(153,153,153)"><b><br></b></span><span style="color:rgb(102,102,102)"><b> </b><span style="color:rgb(204,204,204)">-----</span><b> <font size="1">@sebpiq</font></b></span><br></div><div><span style="color:rgb(102,102,102)"><span style="color:rgb(204,204,204)"> -----</span><b> </b><font size="1"><a href="http://github.com/sebpiq" target="_blank">http://github.com/sebpiq</a></font><b><br></b></span></div><span style="color:rgb(102,102,102)"> <span style="color:rgb(204,204,204)">-----</span> <font size="1"><a href="http://funktion.fm" target="_blank">http://funktion.fm</a></font></span><br></div></div>
</div>