this post was submitted on 21 Aug 2023
47 points (100.0% liked)

Rust Programming

8190 readers
46 users here now

founded 5 years ago
MODERATORS
all 21 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago

I didn't see anyone posting wezterm yet https://wezfurlong.org/wezterm/index.html

[–] [email protected] 6 points 1 year ago
[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)
  • helix - text editor

  • mprocs - manage running multiple commands in parallel

  • cargo-update - A cargo subcommand for checking and applying updates to installed executables

  • cargo-info - Extends cargo to query crates.io registry for crates details

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Helix is a good one, I've tried it but didn't feel comfortable switching 100% off vim yet. Added to the list!

[–] [email protected] 6 points 1 year ago (3 children)

I've been happily using Nushell for a long time: https://github.com/nushell/nushell

[–] [email protected] 2 points 1 year ago

I would have posted this it you hadn't.

I have it set as my default shell on my main machine, but it's not going anywhere near my servers! It's definitely the most fun shell I've used, and hopefully some more of the warts can be shaved off as it matures.

[–] [email protected] 1 points 1 year ago

Had a discussion about this with one of the Nushell contributors, I am conflicted about it. I think the idea of it is somewhat amazing but also somewhat horrendous. I think the concept of this is a step in the right direction in terms of evolving the shell into something better than the traditional shell with concepts from more modern shells, but still has a way to go before adoption is more widespread. My 2c.

[–] [email protected] 1 points 1 year ago (1 children)

It keeps introducing breaking changes so that I have to reset the config and re-add any custom configuration.

[–] [email protected] 1 points 1 year ago

It's not stable and therefore introduces breaking changes. They clearly mention this on their README.

This project has reached a minimum-viable-product level of quality. Many people use it as their daily driver, but it may be unstable for some commands. Nu's design is subject to change as it matures.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Hm didn't know fish was rust based, nice!

[–] [email protected] 3 points 1 year ago (1 children)

I really don't care about them being in rust. Could we instead focus on something that rust aims to provide? Memory-bug-less? High quality? Performant? Dependency-free binary?

But my:

  • ripgrep
  • bupstash
  • helix
[–] [email protected] 2 points 1 year ago

If there's not much in it, I'll go with the rust app because I like to use something I can see myself contributing to if the urge takes me.

I know other languages, but there's no way I'm driving into a random C++ codebase unless I'm confident it's a trivial fix.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I see these posts come up a lot actually, and I'm familiar with a lot of the ones you mention. What is like to see is a list of GUI apps that improve productivity in the same way many of your favourites here do.

[–] [email protected] 2 points 1 year ago (1 children)

I haven't seen a bunch of these posts before, any cross references to aide in tool discovery?

I have some Rusty GUI apps and will consider doing a list when I find more useful ones.

[–] [email protected] 1 points 1 year ago

I've mostly seen them on Reddit, back when I was there. To be clear, I like seeing posts like these, but just wish I saw more GUI apps included.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

From your list, I use bat, exa and rg.

delta (sometimes packaged as git-delta) deserves a mention. I use it with this git configuration:

[core]
  # --inspect-raw-lines=false fixes issue where some added lines appear in bold blue without green background
  # default minus-style is 'normal auto'
  pager = "delta --inspect-raw-lines=false --minus-style='syntax #400000' --plus-style='syntax #004000' --minus-emph-style='normal #a00000' --plus-emph-style='normal #00a000' --line-buffer-size=48 --max-line-distance=0.8"

[interactive]
  diffFilter = "delta --inspect-raw-lines=false --color-only --minus-style='syntax #400000' --plus-style='syntax #004000' --minus-emph-style='normal #a00000' --plus-emph-style='normal #00a000' --line-buffer-size=48 --max-line-distance=0.8"

[delta]
  navigate = true  # use n and N to move between diff sections
  light = false    # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)

[merge]
  conflictstyle = diff3
[–] [email protected] 1 points 1 year ago

You know what, when I started the list I had delta but when I searched for it I got a different tool that didn't look right so I removed it, added this one back. Thanks for the added config!

[–] [email protected] 1 points 1 year ago

Thank-you for this. I have a Google Alert for rust cli but many of these have been missed.