News for hackers. Stuff that matters.
Re:Introducing SIMD.js by jonstewart on Thursday October 30, 2014 @01:45PM (#8534514)
Oh. Dear. God. JavaScript is going to become the x86 of our time, i.e., the historically awful patchwork of kludges that gets passed onto each generation to kludge anew which also runs the entire world. JavaScript: we don't have integers, but, dammit, we have vector instructions. FML.

Maybe it's not too late to take up painting.

Re:Introducing SIMD.js by implicit on Friday October 31, 2014 @01:12AM (#8537426)
We haven't hit the insanity limit quite yet.

It looks like Alon Zakai is working on something the "Emterpreter," which is a bytecode format that Emscripten could compile to to sacrifice some runtime performance for startup time. (JS parse time is quite a big deal for Emscripten applications)

I am hoping that this effort goes really really well. So well that browser engines start natively supporting this bytecode.

Then JS can actually die.

Re:Introducing SIMD.js by eukaryotia on Thursday October 30, 2014 @02:59PM (#8535037)
It's rapidly moving into hardware development as well, eg:

https://tessel.io/

https://www.kickstarter.com/projects/gfw/espruino-javascript...

http://nodebots.io/

This is what programming is now.

Re:Introducing SIMD.js by msds on Thursday October 30, 2014 @05:17PM (#8535881)
No, it's rapidly moving into toy hardware platforms targeted at web developers.
Re:Introducing SIMD.js by ndesaulniers on Thursday October 30, 2014 @02:15PM (#8534719)
> JavaScript: we don't have integers

More like "we don't have 64b ints, yet."

Re:Introducing SIMD.js by general_failure on Thursday October 30, 2014 @02:34PM (#8534854)
Re:Introducing SIMD.js by ep103 on Thursday October 30, 2014 @03:40PM (#8535336)
>SIMD.js is originally derived from the Dart SIMD specification

I am so ungodly sick of Google pushing DART technologies everywhere. I really am starting to think their strategy is embrace, enhance, exterminate.

Re:Introducing SIMD.js by pcwalton on Thursday October 30, 2014 @05:13PM (#8535863)
If you don't like Dart, then you should actually be in favor of this move. It negates what was previously an advantage of Dart over JavaScript.
Re:Introducing SIMD.js by spankalee on Thursday October 30, 2014 @11:13PM (#8537122)
Apologies, but we don't push Dart. You don't have to use it. Google writes millions of lines of JavaScript a year and wants a better language, that's all.

As pcwalton says, SIMD.js evens an advantage that was in favor of Dart, while at the same time making JavaScript a better compile target for languages like Dart and asm.js languages like C++. It's also a really clean API that fits nicely onto typed arrays. What's not to like?