18
We're ending the week today, what's up?
(lemmy.world)
Welcome to Lemmy.World General!
This is a community for general discussion where you can get your bearings in the fediverse. Discuss topics & ask questions that don't seem to fit in any other community, or don't have an active community yet.
🪆 About Lemmy World
🧭 Finding Communities
Feel free to ask here or over in: !lemmy411@lemmy.ca!
Also keep an eye on:
For more involved tools to find communities to join: check out Lemmyverse!
💬 Additional Discussion Focused Communities:
Rules
Remember, Lemmy World rules also apply here.
0. See: Rules for Users.
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.
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