Berichten met #RustProgramming

#RustProgramming

Openbare berichten op X die #RustProgramming gebruiken.

Gerelateerde hashtags

  1. Jeremy Chone✓@jeremychone
    Live Production Coding ➜ Friday 30 May 11am PT ➜ Adding aip.uuid.. to Rust / Lua AIPACK Runtime YouTube Live: (see description for MS Team link to participate realtime) Happy Coding! See you at 11 AM (LA time) #rustlang #RustProgramming #LiveCoding
    115363
  2. SPARKKO✓@SPARKKOO
    Started learning Rust recently. At first, I just wanted to understand why everyone calls it “the hardest yet most rewarding language.” Now I get it 😭 — and I kinda love it.#rustprogramming
    Downloaden
    10574
  3. HIM 🎖️🪖@ManlikeAkin_47
    1. Default trait — create a default instance Concept: Provide sensible default values for a custom struct. #[derive(Default)] automatically implements the Default trait for this struct because .
    Downloaden
    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.
    10119
  4. 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.
    Downloaden
    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.
    10128
  5. HIM 🎖️🪖@ManlikeAkin_47
    @ManlikeAkin_47
    Unlike println!(), which prints directly to the console, format!() returns a new String that you can store, modify, or pass to another function. Need to build a message dynamically? Rust's format!() combines variables and text into a reusable string.
    1007
  6. 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.
    10123
  7. 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
  8. Anas@anelgarhy
    Unit tests are a crucial part of any software development process and Rust has first-class support for them 💻 #rustlang #unittest
    2112557
  9. Anas@anelgarhy
    @anelgarhy
    Unit tests in Rust provide a safety net for your code, catching bugs and regressions before they make it to production 💙 #rustlang #unittests #ilikeit
    101109
  10. Anas@anelgarhy
    @anelgarhy
    So, Rust's emphasis on safety and reliability, combined with its first-class support for unit tests, makes it a great choice for developing critical systems 🚀 #RustProgramming #rustlang #Rust
    102108
  11. Meer berichten tonen