3 ms·
What does it compile JavaScript to though? WebAssembly or native code?
by chrisseaton 7y ago
What does it compile JavaScript to though? WebAssembly or native code?
- pas 7y agoCompiler 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.
- dan15 7y ago> Compiler here probably means transpiler. A transpiler is a type of compiler, so it's fine to just call it a "compiler".
- chrisseaton 7y ago'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'.
- have_faith 7y agoIt looks like it's compiling TypeScript/Flow and newer JS features into more standard JS. Part transpiling.