Menu

Why not rewrite ESLint in Rust? · eslint/eslint · Discussion #21626
📰

Why not rewrite ESLint in Rust? · eslint/eslint · Discussion #21626

Hacker News·about 8 hours ago
#FLeJkDsu
#hackernews#technology#github#eslint#rust
Long article (1436 words) — no AI summary yet.
Reading 0:00
15s threshold

I’ve been asked this question multiple times over the last couple of years, which is natural considering Rust-based alternatives keep popping up. Unfortunately, most people who ask haven’t thought through what such a change would entail. They see that Rust-based linters are significantly faster than ESLint and they just think, “if ESLint did that, then ESLint would be faster too.” Reality, as is often the case, is a lot more complicated than the question indicates.

Team availability

The first thing to understand about ESLint is the team: everyone is a volunteer who is working in their spare time. ESLint doesn’t have, and has never had, full-time maintainers. The most prolific team members might work 10 hours a week on the project; most work significantly less. That alone makes it challenging to make large scale changes that require coordination and validation.

Doing a complete rewrite of ESLint, regardless of target language, is a lot of work even when using AI.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.