Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So, because coffeescript doesn't optimise well for different JS platforms then JS is not like assembly?


Seem to be getting a lot of downvotes here, is there something in the article that I missed?

I don't see if there's any reason it would be impossible to build a compiler for a very high level expressive language like say Haskell and have it generate javascript code that would be well optimised for a particular runtime (maybe via asm.js).

The article seems to make the argument that javascript is not analogous to assembler because coffeescript is basically just syntactic sugar.

Argument 3, "You still need to grok the DOM, or node, or whatever other platform your program is interacting with, and that’s probably documented in JavaScript." is especially weird because I don't see how that isn't true with assembler also.

Asm written for Windows is going to be doing different stuff to asm written for Linux.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: