Re:Rome: An experimental JavaScript toolchain
by chrisseaton on Thursday February 27, 2020 @04:43AM
(#22431959)
What does it compile JavaScript to though? WebAssembly or native code?
[ Parent
| on HN ]
Re:Rome: An experimental JavaScript toolchain
by have_faith on Thursday February 27, 2020 @05:10AM
(#22432056)
It looks like it's compiling TypeScript/Flow and newer JS features into more standard JS. Part transpiling.
Re:Rome: An experimental JavaScript toolchain
by pas on Thursday February 27, 2020 @04:58AM
(#22431998)
Compiler here probably means transpiler. Like Babel. Supporting new ECMAScript stuff, transpiling it to ES3/ES5 or whatever, so you can use it in IE6, or on NodeJS 8.
Re:Rome: An experimental JavaScript toolchain
by dan15 on Thursday February 27, 2020 @11:29AM
(#22434692)
> Compiler here probably means transpiler.
A transpiler is a type of compiler, so it's fine to just call it a "compiler".
Re:Rome: An experimental JavaScript toolchain
by chrisseaton on Thursday February 27, 2020 @11:39AM
(#22434819)
'Transpiler' adds useful extra information and context though. It's like it's fine to just say 'animal' but it's a bit more useful with more information to say 'cow'.