this post was submitted on 25 Oct 2024
18 points (95.0% liked)
General Discussion
12066 readers
2 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 Communities
Feel free to ask here or over in: !lemmy411@lemmy.ca!
Also keep an eye on:
- !newcommunities@lemmy.world
- !communitypromo@lemmy.ca
- !new_communities@mander.xyz
- !communityspotlight@lemmy.world
- !wowthislemmyexists@lemmy.ca!
For more involved tools to find communities to join: check out Lemmyverse!
💬 Additional Discussion Focused Communities:
- !actual_discussion@lemmy.ca - Note this is for more serious discussions.
- !casualconversation@lemm.ee - The opposite of the above, for more laidback chat!
- !letstalkaboutgames@feddit.uk - Into video games? Here's a place to discuss them!
- !movies@lemm.ee - Watched a movie and wanna talk to others about it? Here's a place to do so!
- !politicaldiscussion@lemmy.world - Want to talk politics apart from political news? Here's a community for that!
Rules
Remember, Lemmy World rules also apply here.
0. See: Rules for Users.
- No bigotry: including racism, sexism, homophobia, transphobia, or xenophobia.
- Be respectful. Everyone should feel welcome here.
- Be thoughtful and helpful: even with ‘silly’ questions. The world won’t be made better by dismissive comments to others on Lemmy.
- Link posts should include some context/opinion in the body text when the title is unaltered, or be titled to encourage discussion.
- Posts concerning other instances' activity/decisions are better suited to !fediverse@lemmy.world or !lemmydrama@lemmy.world communities.
- No Ads/Spamming.
- No NSFW content.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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