• 16 Posts
  • 151 Comments
Joined 2 years ago
cake
Cake day: April 27th, 2023

help-circle



  • I think I read somewhere that part of the motivation is that they won’t need a runtime to be installed to use it, but Go could fill that role as well of course.

    But I think you said it yourself:

    I know this is blasphemy, but why not Go? Why Rust? I love writing Rust CLIs

    I guess they also prefer Rust to Go. I’d choose Rust over go for a CLI any day. Why do you say Rust wouldn’t be good in an “industrial setting”? I use Rust professionally and I don’t see any problems in that setting.




  • Long but a very good blog post. I largely agree with all the conclusions and similarly wish Rust would go in a better direction with regards to certain features, especially compile-time reflection.

    I also sadly agree with the comments on the Rust leadership. My personal experience with contributing to Rust has not been great, though I haven’t tried very hard (but exactly because the initial feeling was not great).








  • Not sure about that one but the following one:

    In each language, the words for yes and no never change, regardless of which question they are answering.

    This happens in Danish actually. Example:

    Kan du lide is? (Do you like ice cream?)
    Ja
    Kan du ikke lide is? (Do you not like ice cream?)
    Jo

    So in Danish we have “ja” which means “yes” but “jo” is used instead when answering a negative question, so as to confirm what the negative question asked. This is kind of annoying in English cause if you ask “Do you not like ice cream?” then if you say “yes” does that mean “yes I like ice cream” or does it mean “yes I do not like ice cream”? That’s what “jo” disambiguates.



  • Definitely useful and I think it compares pretty well to other tooling? My two biggest issues are compile times and “amnesia”. First of all, compile times because the feedback cycle can get really bad. But that’s not really rust-analyzer’s fault, that’s cargo/rustc.

    But rust-analyzer also has this weird “amnesia”. Like if I have ran the checks and everything is good, I can go to definition and it will instantly bring me there. But if I make a small change and it starts running cargo check, it’s like it forgets everything until it’s done with cargo check. I wish it still allowed me to use what it knew before and go to definitions and give suggestions and such.