News for hackers. Stuff that matters.
Re:Introducing SIMD.js by JetSpiegel on Thursday October 30, 2014 @11:23AM (#8533445)
It's official, Javascript is the new Assembly. I'll wait for the new Python, I never liked low level languages.
Re:Introducing SIMD.js by gagege on Thursday October 30, 2014 @12:08PM (#8533789)
ClojureScript already exists! So do Elm, Funscript, Purescript, Haxe, and a bunch of other things which transpile (might as well just start calling it "compile" now) to JS.
Re:Introducing SIMD.js by quinnirill on Thursday October 30, 2014 @11:30AM (#8533502)
I liked the "original" assembly more, at least it was designed for helping humans to write and read code.

EDIT: That said, this is good news, in a sense.

Re:Introducing SIMD.js by espadrine on Thursday October 30, 2014 @12:27PM (#8533946)
You make me wonder which assembly you're talking about. x86-64 feels heavy with legacy designs, many ways to get the same result, common pitfalls regarding memory management, and some surprising very specific gems to make some things fast… such as SIMD.

(I know little about other instruction sets.)

Re:Introducing SIMD.js by quinnirill on Thursday October 30, 2014 @03:27PM (#8535235)
I'm just talking about design goals - the original assembly was introduced so that people wouldn't have to remember the numeric instructions of the processor. The instruction sets have been legacy even before that, with slight improvements occasionally, but at least the target audience was people in the beginning. With asm.js the target has been compilers to begin with. With most assembly dialects the instructions have a clear purpose, where as with asm.js you have arcane rules on what makes what stay as an integer, etc., enough so that I think most of the group of sane people would prefer writing against traditional assembly dialects than asm.js.

Maybe that's a good thing, at least then the goal is that people who care about performance don't write JS. But I'd prefer to just have the compile target as numbers then since you can't read the result anyway.

Re:Introducing SIMD.js by marcosdumay on Thursday October 30, 2014 @03:02PM (#8535052)
Before assembly, people wrote in binary machine code.
Re:Introducing SIMD.js by CmonDev on Thursday October 30, 2014 @11:46AM (#8533636)
Python translated to Javascript. The fastest executing code ever.
Re:Introducing SIMD.js by corysama on Thursday October 30, 2014 @08:32PM (#8536674)
https://rfk.id.au/blog/entry/pypy-js-faster-than-cpython/ "on a single carefully-tuned benchmark, after JIT warmup."