• 1 Post
  • 7 Comments
Joined 21 hours ago
cake
Cake day: February 28th, 2025

help-circle
  • SufferingSteve@feddit.nuOPtoRust Programming@lemmy.mlConfession
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    18 hours ago

    Oh yeah, not only inexperienced, but uncaring. Python is for people who truly do not care. They want it to “just work” and once it worked once, it’s done.

    And then they notice it wasn’t done, slap some shifty patchwork on top of it. Prince and repeat for a truly masterful piece of spaghetti al dente


  • SufferingSteve@feddit.nuOPtoRust Programming@lemmy.mlConfession
    link
    fedilink
    English
    arrow-up
    3
    ·
    18 hours ago

    Done a lot of embedded work as well, but now mostly webstuff. I think I would prefer the embedded again, web is horrible the more you get to users and browsers, wasm isnt really all that, so many caveats.

    Embedded is exhausting with its unsafe and slices everywhere. And whoever wanted most of the HAL traits to be fallible had me spinning in embedded-hal.

    Why have the errors when you can’t really handle most of them?

    But Jesus if probe-rs and the gang att ferrous systems aren’t revolutionizing the embedded space. It’s amazing. And now the official hal from esp32, it’s moving places!


  • SufferingSteve@feddit.nuOPtoRust Programming@lemmy.mlConfession
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 hours ago

    :D mostly, there are still a few nice tools written in go that is quite useful, I just hope they will be replaced by rust software soon. Following the iroh project quite closely, I’m guessing someone will rewrite syncthing using that or p2panda soon.

    But yeah, the rust Cli tools are just godsent compared to everything else. Ripgrep, fd-files, helix are used daily by me. Started using smartcat recently but I feel dirty knowing that Ollama is actually Go software…


  • SufferingSteve@feddit.nuOPtoRust Programming@lemmy.mlConfession
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 hours ago

    When I need something like that, I usually go with with Arc<RwLock<T>>, from parking lot, I have not ever run into a posioned state that I need to handle.

    Otherwise I have been using dashmap. But after having a team that went nuts with it, and it started having it deadlock, which they didn’t know how to handle, I am more careful.

    OnceCell is also quite useful, it all depends on the situation.