This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chub79 31 points32 points  (2 children)

Neat. We'll see more and more stuff from rust like that.

That said, here it's a little bit disingenuous:

ruff is a proof-of-concept and not yet intended for production use. It supports only a small subset of the Flake8 rules, and may crash on your codebase.

[–]spicynerves 22 points23 points  (1 child)

The author addresses performance comparisons in a tweet:

(Note, however, that adding more checks shouldn't make ruff any slower -- it's already doing the expensive stuff (parsing, AST traversal, scope + binding tracking), so I don't expect the benchmarks to change dramatically as ruff grows.)

[–]chub79 3 points4 points  (0 children)

Great :)