What did you get up to, and what are you getting into here in the End of the Week?

  • mesamune@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    24 days ago

    Nice! I want to get into rust. At work we use python for everything is actually really nice. Im so used to using older languages, its refreshing to use something made in this decade.

    • Akatsuki Levi@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      23 days ago

      Rust is good. Not perfect. The borrow checker sometimes can be a pain(cant use immutable reference because already using a mutable reference…), compile times are abysmal.

      But the language itself is really solid. It actually gives me similar vibes to using C/C++ but without having to fight the compiler or keep fiddling with CMake for 10 hours just so that it detects that one lib you’re trying to use.

      Surprisingly, Rust borrows some inspirations from Python, so it doesn’t feel that foreign and alien, but it still has a learning curve to it, specially with all the different types (eg. u8/i8, u16/i16/f16, u32/i32/f32, u64/i64/f64, usize, &str vs String, etc) But if you ever spent any amount of time with any other language that is on a similar level than C or C++, you’ll be in quite familiar territory

      Only thing that I can tell you that you’ll have a whole paradigm shift once it clicks with you, is the use of Structs, impl’s for abstration and traits. Once those clicks with you, the way you approach your code really shifts