News for hackers. Stuff that matters.
Re:ShiftJS – Swift to JavaScript transpiler by coldtea on Sunday August 14, 2016 @11:59PM (#12288562)
Transpiler vs compiler is a useful distinction.

If you could just as well program directly in the target output/language for the problem domain, then it's a transpiler.

Re:ShiftJS – Swift to JavaScript transpiler by closure on Monday August 15, 2016 @12:13AM (#12288588)
By that definition every compiler that generates assembly language is a transpiler, rendering the term meaningless.

Perhaps you don't think you could "just as well" program in assembly language, but there are many many people who do, perhaps not in your own problem domain.

Re:ShiftJS – Swift to JavaScript transpiler by coldtea on Monday August 15, 2016 @09:15AM (#12290178)
>Perhaps you don't think you could "just as well" program in assembly language, but there are many many people who do, perhaps not in your own problem domain.

I don't think it matters if there are "many people who do" -- as long as they are still a small minority compared to those who don't. After all you can find people believing everything, I'm sure some are even writing web apps in Assembly.

That said, C to Assembly (as opposed to binary executive) could be said to be transpiling too -- from "portable assembly to assembly".

Re:ShiftJS – Swift to JavaScript transpiler by closure on Monday August 15, 2016 @10:27AM (#12290622)
So the number of people doing something is how you determine the definition of a word?

That really makes no sense.

Re:ShiftJS – Swift to JavaScript transpiler by coldtea on Monday August 15, 2016 @11:50AM (#12291210)
Err, number of people agreeing on a specific meaning is exactly what determines the definitions of a word.

Same for usage of things.

There were always be outliers for whom a thing is better used for Y rather than X, but in the end is what the majority sees the tool as useful for that determines how it's defined (in casual use, dictionaries etc).