Hacker News new | ask | show | jobs
by ajross 1280 days ago
The same reasons given[1] for "why write clang when gcc works fine", mostly? Multiple implementations of a language force rigor in the specification[2], find edge cases in implementations, and promote healthy competition in performance.

[1] The good reasons, anyway. Please no GPL screaming.

[2] Something that IMHO rust has historically been kinda bad at. Even now there remains no clear specification I can find that explains exactly what behavior the borrow checker will admit vs. reject.

1 comments

> The good reasons, anyway. Please no GPL screaming.

How is “we want a toolchain we can use as an library from non-GPL code” not a good reason?

The ability to link against LLVM and Clang has driven a massive advance in languages and tooling.