this post was submitted on 25 Oct 2024
18 points (95.0% liked)

General Discussion

12037 readers
33 users here now

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 CommunitiesFeel 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.

  1. No bigotry: including racism, sexism, homophobia, transphobia, or xenophobia.
  2. Be respectful. Everyone should feel welcome here.
  3. Be thoughtful and helpful: even with ‘silly’ questions. The world won’t be made better by dismissive comments to others on Lemmy.
  4. Link posts should include some context/opinion in the body text when the title is unaltered, or be titled to encourage discussion.
  5. Posts concerning other instances' activity/decisions are better suited to !fediverse@lemmy.world or !lemmydrama@lemmy.world communities.
  6. No Ads/Spamming.
  7. No NSFW content.

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] AkatsukiLevi@lemmy.world 3 points 1 week 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