News for hackers. Stuff that matters.
Re:Rome Formatter and Rust Update by sfvisser on Wednesday February 09, 2022 @11:38AM (#30274702)
> But why create a new formatter? When we began our Rust rewrite, we fell in love with rustfmt, Rust’s own formatter. It formatted code instantly, unlike JavaScript formatters which could often take quite a few seconds on larger files.

I write quite a bit of Rust and quite a bit of TypeScript and use both rustfmt and prettier. I really like both tools, but don’t think rustfmt is much faster honestly. I would probably say prettier in VSCode feels a bit more responsive.

Re:Rome Formatter and Rust Update by maga on Wednesday February 09, 2022 @11:42AM (#30274752)
If it's speed you are looking for, give dprint (https://github.com/dprint/dprint) a try, it has a vscode plugin too.