Hacker News new | ask | show | jobs
by aw1621107 5 days ago
That's why I asked OP for clarification. To me, if you "need" something that something is a hard requirement to achieve some goal, so what you "need" will depend on your specific goal(s). Rust obviously doesn't need to fully bootstrap itself since... well, it exists, so presumably OP had some other endpoint in mind.

To me, the things you describe might be nice to have, and I certainly could understand a language choosing a set of goals that makes those an actual requirement, but I have yet to hear of Rust devs taking that particular stance.

1 comments

"but I have yet to hear of Rust devs taking that particular stance."

The two things require proper industrial backing.

So I would not frame it as "Rust devs don't see the need for this" but "the Rust devs have not yet convinced enough industrial backers to support a real ecosystem around the language".

The fact Rust does not have these is not an omission in itself. But it makes it look less serious.

> So I would not frame it as "Rust devs don't see the need for this" but "the Rust devs have not yet convinced enough industrial backers to support a real ecosystem around the language".

Those don't seem mutually exclusive to me. If the Rust devs don't think they need such things then I wouldn't be surprised if they don't bother trying to get industrial support for them as well. Basically everything is a tradeoff, after all, those things included.

It's also unclear to me what novel things are missing from Rust's current ecosystem that a "real ecosystem" enabled by a Rust backend would have. Cranelift exists, after all, and I'm not aware of such an explosion of features/projects to call Rust-with-Cranelift a "real" ecosystem while the ecosystem for Rust-with-LLVM isn't "real"

If anything, I'm not sure the choice of language for the compiler makes that much of a difference for a language ecosystem, if any at all, since the ecosystem is generally concerned with... well, the language, not compiler internals, much less the backend specifically. For example, I don't think the C/Fortran ecosystems particularly care that their main compilers are now written in C++. Similarly, I don't think the TypeScript ecosystem particularly cares that its main compiler is now written in Go instead of TypeScript. All they care about is that there is a compiler.

A similar line of argument applies for "less serious", I suppose, though that is a bit more subjective.