News for hackers. Stuff that matters.
Re:Shift.js: Swift to JavaScript Transpiler by pjmlp on Saturday November 07, 2015 @02:33AM (#10524073)
Except that anyone with background in compiler design knows that compilation to another language is just yet another way to implement the language.

It is a common design pattern to make the compiler output code in one of the OS SDK languages as a means to speed up development and ease prototyping.

Re:Shift.js: Swift to JavaScript Transpiler by xixixao on Sunday November 08, 2015 @09:15AM (#10528516)
That's quite the point, for a transpiler targeting another language is not just "a way to implement it". It is a conscious decision with many pros and cons and an impact on the transpiled language itself.
Re:Shift.js: Swift to JavaScript Transpiler by pjmlp on Sunday November 08, 2015 @09:51AM (#10528598)
Except no one ever spoke of transpilers when C compilers generated Assembly, C++, Objective-C and Eiffel generated C and so forth.

It was just the output of the compiler.