Rustlang

AnAutomatonAdrift, in Which IDE/editor are you using?

Helix with Rust Analyzer. Works like a charm. Pretty much the only thing I miss from VS Code is the ability to run unit tests through a debugger.

exohuman,
exohuman avatar

Wow, I never knew about Helix. I’ll have to check it out.

staticlifetime,
staticlifetime avatar

How customizable is Helix? Is there a plugin system like with Neovim/Vim?

UnshavedYak,

Not, at the moment. Configuration is pretty good, it has really good defaults (LSP/RA integration/etc), but Plugins are still being designed.

UnshavedYak,

Same. Helix and RA.

solarzones,
solarzones avatar

I am also using Helix! Using Rust Analyzer as well. I love how simple it is.

kamenlady, in Rust seems to be a coding language
@kamenlady@lemmy.world avatar

Is stumble upon online again? What magazine you talkin’ bout Willis?

dohpaz42,
@dohpaz42@lemmy.world avatar

Reddit calls them subreddits. Lemmy calls them communities. kbin calls them magazines.

kamenlady,
@kamenlady@lemmy.world avatar

Thanks, i didn’t know about the kbin magazines

Damaskox,
Damaskox avatar

I didn't mean that service 😁

Cwilliams, in What's your editor?

Not rust-specific, but I use Neovim. For rust, TS and Rust Analyzer Lsp are awesome!

arijit79, in What's your editor?

Neovim + lspconfig + rust-analyzer. I went to VSCode couple of months but came back in a day. Its so slowwwwwwwwwwwwww.....

spirit_kun, in What's your editor?

VS code + rust code analyzer

I stick with it because I have settings and plugins for other languages that are required for my work

escape, in What's your editor?

Mostly helix. Love it. Not bloated, works well out of the box. Easy to configure. Quite well documented.

huntrss, in What's your editor?

I use Neovim, either with kickstarter.vim config or with astronvim.

I used VS Code, but it simply got to slow on my laptop of 12 years age. I therefore started to use helix and got hooked by the ideas of key bindings.

I then heard that Copilot X will / would work on neovim, and I might give it a try in the future I switched to neovim. Although still early I don’t regret it at all. I finally understood why people are using it.

staticlifetime,
staticlifetime avatar

My biggest beef with Neovim is that because nothing is built-in, there are so many plugins required to make it feature-competitive with something like VS Codium. There are a million and one updates every single time I open Neovim. Lots of opportunities for something to break. I was using Lazy.nvim, but I am considering trying to do something simple from scratch and only add what I need. Configuration without these sort of Neovim distros is a bit weak though. Another fault I have with Neovim, especially since configurations can get insanely complex.

I am about to just try Vim keybindings in Codium, and see how that goes too.

Mr_Figtree, in Rustfmt support for let-else statements | Rust Blog
Mr_Figtree avatar

In addition to formatting support for let else:

  • A new team now exists, the Style Team
  • The style guide now has editions separate from language editions
  • You can tell rustfmt which edition of the style guide to follow
somegeek, in Rust language gets new governance

Didn't gather a useful thing from this

chamaeleon, in Projects like pngme
chamaeleon avatar

The first thing that comes to mind for me is The Ray Tracer Challenge book.

http://raytracerchallenge.com/

ideonella, in Which IDE/editor are you using?

Just regular VS Code. I didn't know about Codium! I think I'll switch over. I guess I can't add anything different but hope someone else shares their experience :)!

Deebster, in Which IDE/editor are you using?

VSCode here, but Helix is also installed. I'm more productive in a traditional WIMP editor (for now) though.

AndreasDavour, in Which IDE/editor are you using?

Emacs with lsp-mode and rust-analyzer.

pixxel, in Rust most "admired" language for 8th year in a row, and the rest of the stack overflow developer survey

Not surprising, really wish I had an opportunity to work with it professionally.

soulsource, in Which IDE/editor are you using?
@soulsource@discuss.tchncs.de avatar

I've switched from vim to VSCodium some months ago.

In vim I was using Rust Language Server via vim-lsp. The editing experience was OK, and about half of the Rust code in my PassFish application was written using this setup.

At work we participated in a functional programming course hosted by FPComplete (their courses are awesome, btw), and during that course we used Visual Studio Code with Rust Analyzer, and that convinced me of the convenience of this setup. My personal setup is still a bit different, as I use VSCodium instead of Visual Studio Code, and instead of using the Rust-Analyzer binary that comes with the Visual Studio Code plugin I run the version that is (optionally) included in the Rust Gentoo package.

I've been using this setup for the second half of the Passfish development, and for the higher-free-macro crate I wrote. I'm mentioning that crate, because it has higher as a dependency, which in turn does some unholy type system magic, and is pushing Rust Analyzer to (and sometimes over) its limits. I'm pretty sure that Rust Language Server would have handled this crate better than Rust Analyzer, which quite often ended up freezing, and allocating gigabytes over gigabytes of RAM (only option: kill process....).

But still, I think VSCodium (or Visual Studio Code) together with Rust Analyzer is a pretty convenient IDE for Rust development, and it's definitely what I'd recommend for people starting out with the language.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust
  • rosin
  • ngwrru68w68
  • vwfavf
  • magazineikmin
  • InstantRegret
  • DreamBathrooms
  • Youngstown
  • Durango
  • slotface
  • ethstaker
  • tacticalgear
  • khanakhh
  • kavyap
  • mdbf
  • megavids
  • everett
  • cisconetworking
  • cubers
  • Leos
  • tester
  • GTA5RPClips
  • thenastyranch
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • normalnudes
  • JUstTest
  • All magazines