News for hackers. Stuff that matters.
Re:Starship.rs: minimal, fast prompt for any shell by usrbinbash on Friday January 26, 2024 @06:18AM (#39141368)
The fact that this happens should be food for thought for part of the rust community. Because the way I see it, if they keep this up, a few years from now, they could, other than some obscure linux kernel modules almost noone uses and a good grep-alternative, be well along what I lovingly call the "Haskell Route".
Re:Starship.rs: minimal, fast prompt for any shell by sebzim4500 on Friday January 26, 2024 @06:30AM (#39141455)
What exactly should the takeaway be? Stop making things in Rust because people on HN will complain?
Re:Starship.rs: minimal, fast prompt for any shell by imp0cat on Friday January 26, 2024 @08:59AM (#39142624)
No, don't stop.

But it's an interesting observation, don't you think? Why is it that just by adding "... in Rust" you can almost guarantee that people will roll their eyes and think "oh, not another one".

Other languages do not carry such stigma, why does Rust have such reputation?

Re:Starship.rs: minimal, fast prompt for any shell by toastedwedge on Friday January 26, 2024 @11:55AM (#39144813)
Completely guessing, but the thought comes to mind that Rust was (still is? I don't keep up these days) portrayed as The C Killer. So to specify "written in Rust" was to imply "I wrote something low-level without C/C++" or "I rewrote Popular C Tool in Rust" in the name of memory safety.

This is all wild speculation on my part, so please take it with a large grain of salt. I welcome alternative explanations or experiences.

Re:Starship.rs: minimal, fast prompt for any shell by weebull on Saturday January 27, 2024 @07:40AM (#39155052)
> Completely guessing, but the thought comes to mind that Rust was (still is? I don't keep up these days) portrayed as The C Killer. So to specify "written in Rust" was to imply "I wrote something low-level without C/C++" or "I rewrote Popular C Tool in Rust" in the name of memory safety.

As the OP, this is a big part of it. Rust might be a great language, but people announcing they rewrote grep (for example) in rust doesn't mean they've done anything special. The rust language team did something special. The person making the announcement just took somebody else's idea and reimplemented it for very little reason.

Great! You learnt enough to reinvent the wheel. Now do something useful.

Re:Starship.rs: minimal, fast prompt for any shell by sebzim4500 on Friday January 26, 2024 @09:52AM (#39143242)
I don't know, but it certainly says more about the people rolling their eyes than it does about the people actually building things.
Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Friday January 26, 2024 @06:44AM (#39141568)
Who is "they"? Do you imagine all Rust devs as a hive mind?
Re:Starship.rs: minimal, fast prompt for any shell by usrbinbash on Friday January 26, 2024 @06:57AM (#39141646)
> for part of the rust community.

part is the important term here.

Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Friday January 26, 2024 @07:54AM (#39142079)
I still don't see your original point. Sounds like you have an axe to grind. I don't see anything negative in saying "written in Rust" or "written in OCaml" or "written in Haskell" or anything else.

Using a particular language signals a certain subset of qualities and broadcasting those helps people filter what they are interested in.

Re:Starship.rs: minimal, fast prompt for any shell by imp0cat on Friday January 26, 2024 @09:00AM (#39142634)
It's only the Rust bit that seems to be problematic. I guess there is too much drama around that language?
Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Friday January 26, 2024 @09:06AM (#39142695)
I never saw any drama. People have broadcasted that they rewrite stuff in Rust, yes, and that seems to have triggered an exaggerated annoyance response in many.
Re:Starship.rs: minimal, fast prompt for any shell by imp0cat on Friday January 26, 2024 @11:10AM (#39144250)
Yes, but why? Why does Rust (or, more precisely, the "rewrite in Rust" meme) such negative connotation?
Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Friday January 26, 2024 @11:22AM (#39144402)
I honestly have no clue and will only speculate. The people criticizing the "rewrite it in Rust" or "written in Rust" monikers always came across as grumpy curmudgeons to me. I never saw an actual good technical criticism.

Also they might have made the mistake of judging a very big and heterogenous community by a few zealot loudmouths (and every community has those).

Informed and objective people shouldn't judge like that but I think it reinforces a preconceived notion that they already have.

The human brain can betray us like that. If you already dislike something, practically every criticism towards it, no matter how small, makes you immediately go: "A-ha! This thing is bad! I knew it!"

Re:Starship.rs: minimal, fast prompt for any shell by usrbinbash on Friday January 26, 2024 @05:22PM (#39149503)
> Sounds like you have an axe to grind.

Why? I just point out that what happened to Haskell can happen to Rust, and for much the same reasons.

Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Friday January 26, 2024 @07:06PM (#39150680)
What reasons might those be? I am not familiar with Haskell's history.

Are you saying that Haskell never got wide adoption because its advocates were too loud?

Even if you claim that I'll not believe it. Haskell is legitimately difficult for many annoying reasons, not least of which are the endless compiler variants.

Re:Starship.rs: minimal, fast prompt for any shell by a_random_canuck on Friday January 26, 2024 @09:47PM (#39151919)
I would say it’s because the Haskell community is too arrogant and pretentious.

I love the language and worked with it professionally for over a year, but I can’t stand everything around the developer experience and community.

Rust is a breath of fresh air.

Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Friday January 26, 2024 @10:18PM (#39152121)
> I would say it’s because the Haskell community is too arrogant and pretentious.

That by itself is only a cause. What's the effect, what's the symptom of this attitude, what are the practical observable results? Gatekeeping? Rude forum responses? (I know OCaml partially suffered from that and they can be fairly elitistic; when you ask something fairly normal nowadays like "what's the preferred package manager?" or "how do you build a project?" is sometimes met with smartass responses like "what's a project?")

> I love the language and worked with it professionally for over a year, but I can’t stand everything around the developer experience and community.

Sums up my experience with several development communities, yep. I can relate.

> Rust is a breath of fresh air.

I feel the same, the community is extremely pragmatic. I've met a few a-holes but they were a very, very rare exception. 99% of everyone I interacted with was just like me: they were looking how to get the job done AND write idiomatic and efficient code.

Re:Starship.rs: minimal, fast prompt for any shell by tome on Saturday January 27, 2024 @03:25AM (#39153736)
It's strange, because many, many times I've heard newcomers say that the Haskell community is the most friendly and welcoming that they have interacted with. By this point I don't have any better hypothesis than that different people prefer different sorts of community. I also think it's unfortunate if someone stops using a language they love because of the community. Ideally a programming language would have multiple communities so everyone can find one that works for them. Perhaps niche language are too niche for that possibility, though.
Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Tuesday January 30, 2024 @06:17AM (#39188752)
> I also think it's unfortunate if someone stops using a language they love because of the community.

This really depends. I don't care about some abstract notion of a community BUT if I can't get basic stuff done because documentation is not good and the official forum responses are not helpful then yes, I absolutely will abandon the language.

To this day, languages differ a lot. I.e. in Elixir and Rust I can just add dependencies to a file (Rust even allows you to add the dep via a CLI command) and then reference it in your code a minute later, issue a command and your project is compiled and runs and you see the result.

Now ask me how much time I spent fiddling with OCaml's `dune` and `esy` which are a project manager and a dependency manager respectively. Took me an entire weekend to get one simple code to compile with a singular CLI command, and then run it. And community was not helpful: "check the docs", which I did 15 times probably over the course of that same weekend.

To go back to your point, friendly / welcoming community is just a bonus. The community has to be helpful above everything else. Some people are noobs. Some people like myself are senior BUT are unwilling to start over and are just looking for "how to do X and Y without spending a full day?". Some people are trying to make a presentation to advocate for the technology on an internal meeting. Examples abound.

I am not an experienced moderator (nor I ever want to be) but I've witnessed significant differences in how various programming language (or just a framework) communities act, and how helpful they are. It absolutely isn't identical or even close. Some are downright off-putting.

Finally, I make no claims about Haskell in any way except only one thing: when I saw its huge combinatorial explosion of different compilers, I gave up on the spot. Give me 2-3 options and leave the rest to the enthusiasts.

Re:Starship.rs: minimal, fast prompt for any shell by tome on Tuesday January 30, 2024 @10:59AM (#39191638)
Totally agreed with you there. I hope Haskell's community is generally friendly and welcoming, but I guess it isn't always that way.

In case you're interested into how Haskell handles some of the specifics you brought up:

> in Elixir and Rust I can just add dependencies to a file (Rust even allows you to add the dep via a CLI command) and then reference it in your code a minute later, issue a command and your project is compiled and runs and you see the result

This is also true of Haskell using Cabal. Cabal has some rough edges. Perhaps it's not as ergonomic as the Elixir or Rust equivalents (I've never used them) but you can at least do that.

> when I saw its huge combinatorial explosion of different compilers, I gave up on the spot. Give me 2-3 options and leave the rest to the enthusiasts.

This issue has been resolved with the introduction of the GHC2021 language edition. Just use that. No need for any other language extensions as a non-expert, except maybe in very special cases.

(By the way, there was never a combinatorial explosion of compilers. Almost all language extensions simply remove restrictions. But I understand how people could interpret it that way, and GHC2021 is a very simple way of resolving the misunderstanding.)

Re:Starship.rs: minimal, fast prompt for any shell by pdimitar on Tuesday January 30, 2024 @01:13PM (#39193556)
Thanks for pointing those out. I see that my info is outdated.
Re:Starship.rs: minimal, fast prompt for any shell by Twirrim on Friday January 26, 2024 @08:52AM (#39142571)
Almost every single project that makes it to the front page of HN tells you as part of the opening sentences what language it's in. For a good while it was "<thing>, (re)written in Go". There's nothing special or unique in the rust community about this, it's just what people in tech do.

The type of complaining you're doing is also nothing new, because exactly the same occurs under those posts when it's the language de jour. A few years ago when it was all about Go, you could look in the HN comments and see people complaining exactly the same way about Go and the Go community.