News for hackers. Stuff that matters.
Re:Is Nim a Transpiler? by k__ on Wednesday October 20, 2021 @10:47AM (#28931282)
I had the impression we already had that discussion with Babel and TypeScript and the conclusion was, transpilers aren't really different from compilers, and we should simply calling them compilers.

I think, the background was the word transpiler was used by compiler creators as a way of gatekeeping.

Re:Is Nim a Transpiler? by naniwaduni on Wednesday October 20, 2021 @10:55AM (#28931390)
Best I can tell, it's largely the opposite: "transpiler" is mainly used to sound cool and build hype, traditional compiler folks tend to fall on your side and prefer to call them all "compilers".

(The usual term of disparagement in this context is "preprocessor"!)

Re:Is Nim a Transpiler? by k__ on Wednesday October 20, 2021 @11:32AM (#28931943)
Good to know! Thanks.
Re:Is Nim a Transpiler? by ModernMech on Wednesday October 20, 2021 @10:51AM (#28931338)
> I think, the background was the word transpiler was used by compiler creators as a way of gatekeeping.

I dunno anyone who makes compilers who would draw this distinction (I know a lot of people who make compilers). I think it's more used by language warriors who don't understand there really isn't a distinction.

Re:Is Nim a Transpiler? by Zababa on Wednesday October 20, 2021 @02:12PM (#28933957)
Compilers and transpilers are the same. The term "optimizing compiler" exists, which probably mean that some are non-optimizing. TypeScript is a great example of that (although it does optimize a few things depending on the target).

Babel can be used as a macro system for JS, and macros are compilers.

Re:Is Nim a Transpiler? by chrisseaton on Wednesday October 20, 2021 @10:49AM (#28931309)
> I think, the background was the word transpiler was used by compiler creators as a way of gatekeeping.

Why do you think that?

Re:Is Nim a Transpiler? by k__ on Wednesday October 20, 2021 @11:00AM (#28931442)
The Babel creator said it.
Re:Is Nim a Transpiler? by chrisseaton on Wednesday October 20, 2021 @11:01AM (#28931453)
That's the Babel creator's opinion. Why's it also yours?