What essential skills/knowledge would you say are/is required to work as a Rust dev?

I did couple of small/mediumish personal projects in Rust using axum with sea-orm and later tauri with leptos. That’s on top of many years of experience working as a Java/Javascript dev and occasionally touching things like Python or Flutter. Most of things like databases and web stuff is transferable but what strictly Rust concepts are required to work as a Rust dev? In what fields it’s used the most?

  • anlumo@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    I’m comfortable with debugging, but I rarely use it with Rust. With the language being so strict in everything, it’s clear most of the time what’s happening, and most situations can be resolved by simple logging of variables.

    In JavaScript, I have to use the debugger all the time, since variables can get some really weird invalid values with the completely wrong type.

    • YIj54yALOJxEsY20eU@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      That’s my favorite part about rust. Each step of the program is so well defined. No wondering if something will be uninitialized, throw, be null, or worse, what type of data you are working with in the first place. The option and result types have made working in languages without them a slog.