Skip to content

Commit

Permalink
README: remove Rust to Go section
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed Nov 14, 2024
1 parent 3aaaf7c commit e41339a
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,27 +152,6 @@ This project is still pretty new. Down the line we also want to add support for:
All contributions are welcome! We try to keep the project simple and focused. Please refer to the [Contributing](./docs/content/contributing/code.md)
guidelines for more information.

## Moving from Rust To Go

You may be familiar with [Version 1], which is written in [Rust]. So, why re-write it in [Go]?

Ultimately, `treefmt` is spending most of it's time shelling out calls to the underlying formatters. This process is
just as fast/performant in Go as it is in Rust.

The remaining tasks are processing some cli args and parsing a config file. Do we really need something as _heavy duty_
as Rust for that?

Despite all this, you can make good, sane arguments for continuing with [Version 1] in Rust instead of a re-write.
So here's a _bad argument_.

[Brian] wanted to improve performance by moving away from a [Toml] cache file, introduce pipelines for applying multiple
formatters against the same file set, and add an extensible approach for how `treefmt` walks file systems. He knows Go
much better than Rust.

[zimbatm] thought it was a good idea too.

So here we are :shrug:.

## Commercial support

Looking for help or customization?
Expand Down

0 comments on commit e41339a

Please sign in to comment.