Re:Rome: An experimental JavaScript toolchain
by ratww on Monday April 13, 2020 @02:15PM
(#22858372)
I would bet on it performing better too, since Webpack/Babel/ESLint/TSC/Terser/Prettier all have to parse/process/pretty-print the code, using Javascript as the intermediate representation between each tool. That's very wasteful.
With a unified tool you can use a single AST. Or even better: an intermediate representation. You only need to parse and pretty-print once.
The question is - will Rome perform as well as all the tools it intends to replace. Can it be a better Babel than Babel is? (There's a good chance it could since the creator of Rome is the creator of Babel)