Posts with #learnRust

#learnRust

Public posts on X that use #learnRust.

Related hashtags

  1. Spokie👾@Spokie_8
    Ever wondered what building using RUST is? 👇Thread .
    Download
    20543
  2. Spokie👾@Spokie_8
    @Spokie_8
    🧵3/4 — Real-World Use Cases 🔧 Blockchain (e.g. Solana) 🎮 Game dev (via Bevy, Amethyst) 🖥️ Backend services (used by Dropbox, Discord) 🛠️ CLI tools (ripgrep, fd, bat) 🌐 WebAssembly (frontend in Rust? Yes!) Rust is production-ready. #Web3 #CryptoDev
    10474
  3. Spokie👾@Spokie_8
    @Spokie_8
    🧵4/4 — Want to Learn Rust? 📘 Official book: The Rust Programming Language → 🎮 Try Rust online: 🛠️ Start building with cargo new project_name You’ll write safer code, faster. Time to go fearless. 💻 #LearnRust #programminglife
    00243
  4. Rodney@askRodney
    Just tried out egui. It’s a 🦀 Rust, immediate mode GUI tool, inspired by the C++ Dear ImGui library. — it’s great for game back-ends; — quick to code in because of immediate mode; and — there’s a demo app with a lot of code examples. #askRodney #learnRust
    Download
    101275
  5. Maverick@skiier_sol
    @skiier_sol
    All core logic, modules, and data structures should live in the library crate. The binary crate acts as an external user, accessing only the public API from This improves API design and enables external projects to reuse your logic.
    10248
  6. HIM 🎖️🪖@ManlikeAkin_47
    1. if expressions — conditions return values Concept: In Rust, if can be used to assign a value. Unlike a traditional statement-only approach, Rust's if is an expression that produces a value. Both branches must return compatible types.
    Download
    HIM 🎖️🪖 @ManlikeAkin_47
    1. Smart pointers — sharing data with Rc Concept: Rc<T> allows multiple owners of the same data in a single-threaded program. Rc::clone() creates another shared reference-counted owner without cloning the underlying String. Rc is designed for single-threaded use;
    10119
  7. HIM 🎖️🪖@ManlikeAkin_47
    1. Smart pointers — sharing data with Rc Concept: Rc<T> allows multiple owners of the same data in a single-threaded program. Rc::clone() creates another shared reference-counted owner without cloning the underlying String. Rc is designed for single-threaded use;
    Download
    10125
  8. HIM 🎖️🪖@ManlikeAkin_47
    @ManlikeAkin_47
    Rust automatically calls drop() when _file goes out of scope. This example demonstrates the mechanism; real file handles generally use standard-library types that already manage cleanup.
    1001
  9. Tushar | Hacker House Goa✓@Tushar_Pamnani_
    My Intro to Rust series is complete! 12 beginner-friendly blogs covering everything you need to start your Rust journey 🦀 Would love your feedback from the Rust community! ✨ 👉 #RustLang #LearnRust
    Download
    41251.2K
  10. Jolah🧡@jolah99
    I Just published a beginner friendly article “Explaining Ownership in Rust” 💡 Learn Rust's core concept of memory safety and management with simple code examples. Perfect if you’re just getting started! 👉 Read here: #RustLang #LearnRust
    Download
    13121.1K
  11. BitCraft@BitCraft_handle
    Learning Rust: Mindsets and expectations Rumors have persisted in regards to how hard it is to learn Rust, but it's very likely that these rumors are outdated and refer to a version of the language that no longer exists. #LearnRust #RustLang #Programming
    012672.9K
  12. Viacheslav Biriukov✓@brk0v
    Rust closures feel “simple”… until they don’t 😅 If Fn, FnMut, FnOnce, captures, and move still feel a bit fuzzy, this deep-dive is for you 👇 A practical guide to closures in Rust (with tons of examples): #rust #rustlang #learnrust
    41715222.1K
  13. HIM 🎖️🪖@ManlikeAkin_47
    1. Box<T> — store data on the heap Concept: A Box<T> owns a value stored on the heap. Box::new() creates a box that owns its value on the heap. Rust automatically cleans it up when the box goes out of scope.
    Download
    HIM 🎖️🪖 @ManlikeAkin_47
    2. Option::map — transform a value if it exists Concept: Transform the value inside an Option without manually matching every case. map() applies a function to the value inside Some. If the original value is None, the result remains None.
    10126
  14. HIM 🎖️🪖@ManlikeAkin_47
    2. Option::map — transform a value if it exists Concept: Transform the value inside an Option without manually matching every case. map() applies a function to the value inside Some. If the original value is None, the result remains None.
    10121
  15. HIM 🎖️🪖@ManlikeAkin_47
    @ManlikeAkin_47
    Iterating over &scores borrows the map rather than consuming it. Remember that HashMap iteration order is not guaranteed, so the output order may vary.
    1002
  16. Joseph Masu@MasuJoe
    🚀 Rust Tip: let vs const 🔧 let: Immutable by default, mutable with mut, allows shadowing, can declare/assign separately. const: Always immutable, no shadowing, must assign on the same line. 💡 Use let for variables, const for constants! #Rust #Programming #LearnRust
    00249
  17. Maverick@skiier_sol
    @skiier_sol
    @T_0xide @solanaturbine @rustlang Summary of chapter 7: Packages, Crates, and Modules • Packages contain Crates. • Crates contain Modules. • Modules control Scope and Privacy. • Paths (crate::, super::) locate items. • use brings paths into scope. • pub makes items accessible.
    10052
  18. rukysandy🦀@JighereS
    🦀 Day 4 of my Rust journey! Today I explored structs — a powerful way to group related data in Rust. Loving how Rust makes you think deeply about data modeling and memory safety. Can’t wait to build something cool with it! #RustLang #LearnRust #100DaysOfRust #Rustacean
    Download
    004198
  19. Show more posts