News for hackers. Stuff that matters.
Re:JavaScript is Not Web Assembly by leeoniya on Sunday March 31, 2013 @01:35PM (#5469394)
i think the "JS is assembly for the web" strictly refers to the fact that you cannot write closer-to-the-metal code than javascript. it'c certainly not the C-of-the-web either, but some combination of the two. i do agree that there are more parallels to C than to asm, but nit-picking the differences will lead to no adage at all :)

"Assembly varies wildly between architectures" - but javascript runs on a single architecture. it's just that browser vendors all implement the same one.

the other points are valid, but i dont think this was ever supposed to be that deep a comparison.

Re:JavaScript is Not Web Assembly by stormbrew on Sunday March 31, 2013 @06:40PM (#5470465)
> i think the "JS is assembly for the web" strictly refers to the fact that you cannot write closer-to-the-metal code than javascript.

This exactly. JS is the lowest level of code you can reliably run through a browser. That makes it, by definition, the 'metal' of the web. And that will probably not change for a very long time.

Re:JavaScript is Not Web Assembly by pekk on Sunday March 31, 2013 @07:01PM (#5470527)
you "cannot" write closer-to-the-metal code only because of artificial controls on the platform, not because of how low-level it is.