News for hackers. Stuff that matters.
Re:Show HN: LiteScript by gfodor on Sunday March 09, 2014 @03:44PM (#7369667)
It's an analogy, not an equivalence.
Re:Show HN: LiteScript by Pacabel on Sunday March 09, 2014 @09:24PM (#7370823)
Of course it's not an equivalence. But it's also not an analogy, either. There are really no similarities between the two.

Just being capable of being a translation target for other high-level languages is totally insufficient to be considered similar to assembly language.

Re:Show HN: LiteScript by gfodor on Monday March 10, 2014 @01:10AM (#7371373)
Sorry, you completely missed the point of the analogy. The point of the analogy is that within the realm of the browser Javascript provides the most natural substrate for compiler code generation, much like assembly is the most natural target for code generation in many other environments. It's a pragmatic point not a theoretical one. It has almost nothing to do with the specifics of either Javascript or assembly language as mediums for writing programs. You're overanalyzing it to the point where I have to think you are trolling.

(Disclaimer: I've worked on compilers that target both assembly language and compilers that target Javascript)