4 ms·
When I explored rust I found the exact same feeling too, but couldn't find that word. My only issue is how surprisingly weak Rust support is in my favourite ed
by Waterluvian 8y ago
When I explored rust I found the exact same feeling too, but couldn't find that word.
My only issue is how surprisingly weak Rust support is in my favourite editor. Rust seems to feel more popular than it is. Or maybe more people write Rust in a "no frills notepad" kind of way.
- x15 8y agovscode has pretty good support for rust. If you need something more advanced, you can try clion from jetbrains with the intellij-rust plug-in.
- Waterluvian 8y agoVscode is what I tried. It was critically flawed where the autocomplete would crash or be missing half the options you'd expect. I will need to try again. It's been six months.
- sondr3 8y agoI can vouch for CLion with intellij-rust, it is by far the best Rust editor/IDE available at the moment. RLS still suffers from slow/no auto completion and crashes too much for my liking. The pace and features that are coming out of the team working on intellij-rust is amazing: https://intellij-rust.github.io/thisweek/ https://intellij-rust.github.io/thisweek/.
- Waterluvian 8y agoRust is so exciting to me that I'll probably do this. But I absolutely HATE having to maintain multiple editors. It's like playing two pianos where the keys are all in different places. I will spend hours trying to make one like the other but it'll just never quite be right so my coding rhythm. will be discordant and janky. I wish there was a trivial way to say to intellij, "steal all my config from vscode"
- 0xcoffee 8y agoSame experience here. Was learning rust with vscode, and it would only show half of the compiler error output (e.g. the part that recommends how to fix the error wasn't shown). In the latest vscode release they now support multiline error messages so maybe the situation will improve.
- paavohtl 8y agoAs a fan and user of both Rust and VS Code, it's still pretty bad. It crashes less than it used to six months ago, but the autocompletion is still near useless. It doesn't support traits as far as I can tell, for example.
- AndyMcConachie 8y agoAs an Emacs nerd I did have to find and download a Rust mode. I imagine in the future Rust will get more support in editors. I've also just started writing Rust in the domain in which I write code, low level networking. I think I agree with Carmack in that it feels good. I can get hungup on syntax when learning a new language and I don't have that problem so much in Rust. I've been writing code in many different languages for close to 30 years and learning Rust feels mostly right. It feels like when I learned Python or LISP and I could guess at syntax and just get it right. As opposed to writing /bin/sh for over twenty years and still needing to constantly look up syntax :( It doesn't feel like some languages I've learned in the past where everytime I investigate something I face-palm. It seems like the more I investigate it the right choices were made. Even when I'm frustrated with it because the compiler won't let me do something simple, I understand that maybe the bad habit I learned in C should end. Rust forces you to deal with things upfront that may become problems later. It's sometimes annoying when you want to just get shit done, but it's the 'right thing' to do.
- Waterluvian 8y agoIt's so nice hearing this from someone with as much experience as you. I have far less but one feeling I had lately when switching to typescript was, "instead of turning off this warning, maybe they're right. Maybe this is a bad habit." It forced me to think harder about my code's structure. I think that's what I like about Rust too. Not being able to do anything means I have to be thoughtful. Which also reminds me of how to be creative with games or writing or music: artificially limit yourself and you're forced to be more thoughtful.
- intertextuality 8y agoCLion/IntelliJ with the Rust plugin works nicely, but I write 99% of rust in (neo)vim. I hate opening up IDEs and keeping them open.
- jeffdavis 8y agoemacs with elpa-rust-mode (ubuntu package) works well for me.