ผลการค้นหา: "#30DaysofRust"

20 ผลลัพธ์
Karo the computational biologist
Karo the computational biologist@sentinelprince·
As someone working toward systems-level programming and bioinformatics pipelines, ownership gives you: ⚡ High performance (no GC pauses) 🔒 Memory safety guarantees 🧠 Predictable behavior when handling large datasets (e.g., genomic data in heap memory) #30DaysOfRust
English
0
0
1
23
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
🦀 Day 30 of #30DaysOfRust 🚀 Feeling humbled & grateful for all the love and encouragement from my followers & the Rustacean community over this month. ❤️ Today I wrap up my 30 day challenge learning about Closures in Rust — fitting that my journey closes with closures 😉
ZKryptosaurus tweet media
English
11
3
16
458
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
🦀 Day 29 of #30DaysOfRust 🚀 Rust Traits = Superpowers for your types ⚡ 💡 A trait is a contract: “If you can do this… you’re in the club.” ✅ Shared behavior ✅ Compile-time safety ✅ Zero runtime surprises pub trait Summary { fn summarize(&self) -> String; }
ZKryptosaurus tweet media
English
11
1
12
261
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 28 of #30DaysOfRust 🦀 Stop writing the same function twice in @rustlang ! Whether it’s i32 or char… You can use Generics to handle any type with one function. Here’s how you go from boring duplication to Rust wizardry 🦀👇
ZKryptosaurus tweet media
English
6
1
12
243
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 27 of #30DaysOfRust 🦀 🚨 Rust Panic! — When Rust says “Nope” 🚨 Sometimes code hits an unrecoverable error. Rust’s answer? panic! 🦀 Quick guide 👇
ZKryptosaurus tweet media
English
4
2
14
400
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 26 of #30DaysOfRust 🦀 Error Handling in Rust 🚀 Errors happen🙈 No matter how clean your code, something will go wrong. Rust forces you to face that fact — at compile time. ✅ Safer code ✅ No silent failures ✅ Happier future-you
ZKryptosaurus tweet media
English
7
1
7
276
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 25 of #30DaysOfRust 🦀 Just leveled up my Rust skills with HashMap<K, V> and it’s pure MAGIC✨ ✅ Store key-value pairs ✅ Smart .entry().or_insert() trick ✅ Ownership-safe ✅ Perfect for word counts, scores & more!
ZKryptosaurus tweet media
English
11
1
3
167
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 24 of #30DaysOfRust 🦀 Rust strings are NOT what you think they are. You can't index them. You can crash your program by slicing them wrong. And UTF-8? It's a blessing and a headache. Here’s a deep dive into how Rust handles strings — the safe, powerful way 🧵
ZKryptosaurus tweet media
English
9
0
3
190
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 23 of #30DaysOfRust 🦀 Let's dive into one of the most powerful collection types in Rust: Vectors (Vec<T>) They’re dynamic arrays that live on the heap and allow you to grow your collection on the fly. Let’s go! 🚀👇
ZKryptosaurus tweet media
English
9
0
4
222
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 22 of #30DaysOfRust🦀 How to Organize Rust Code into Multiple Files (Modules Edition) As your Rust project grows, splitting modules into separate files keeps things clean & maintainable. Here's how to do it right 👇
ZKryptosaurus tweet media
English
7
0
6
224
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 21 of #30DaysOfRust🦀 Let’s talk about bringing paths into scope with the "use" keyword — and how Rust keeps your code clean, readable, and efficient. Master this, and your Rust modules will be chef's kiss. 👨‍🍳✨ 👇
ZKryptosaurus tweet media
English
10
0
8
257
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 20 of #30DaysOfRust🦀 20 days deep and today I finally clicked with one of Rust’s most mind-bending features: Lifetimes 🔥 Here’s how I made peace with the borrow checker (and how you can too):
ZKryptosaurus tweet media
English
6
0
6
183
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 19 of #30DaysOfRust🦀 Let’s talk about one of @rustlang most elegant features: Modules! They help you organize code, control visibility, and build cleaner architecture. Here’s your cheat sheet, examples, and mental models 🧵👇
ZKryptosaurus tweet media
English
7
1
6
305
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
🦀 Day 18 of #30DaysOfRust Today we're diving into one of the core concepts in Rust — Packages and Crates 🔥 If you’ve ever wondered how Rust organizes and compiles code, this thread is for you 👇
ZKryptosaurus tweet media
English
7
0
6
172
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
🦀 Day 17 of #30DaysOfRust Let’s talk about clean, readable control flow in Rust using if let and let...else 💡 Tired of verbose match arms just to handle a single variant? Let’s simplify 👇
ZKryptosaurus tweet media
English
5
0
5
172
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 16 of #30DaysOfRust Match expression in Rust 🦀 Tired of writing messy if-else ladders? Meet @rustlang's 🔥 match expression — a powerful, exhaustive, and safe way to handle control flow.
ZKryptosaurus tweet media
English
9
0
8
223
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 15 of #30DaysOfRust C devs: “Enums are just a list of values.” Rust devs: “Hold my Option<T>.” 😋 Enums = safe, expressive, and powerful 🦀 Let’s unpack how they level up your code 🧵👇
ZKryptosaurus tweet media
English
11
0
5
203
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 14 of #30DaysOfRust 🦀✨ Today I learned about Method Syntax in Rust — and how impl blocks turn plain structs into powerful types with behavior! 🔥
ZKryptosaurus tweet media
English
6
0
3
257
ZKryptosaurus
ZKryptosaurus@KryptosaurusEth·
Day 13 of #30DaysOfRust 💯 Today I dove deeper into structs — powerful, readable, and way more expressive than tuples 🔥 Here’s what I built a rectangle area calculator, the Rustacean way 🦀👇
ZKryptosaurus tweet media
English
6
0
7
255
Rakesh
Rakesh@Rakesh75618663·
📅 Day 2 of #30DaysOfRust&Solana 🎮 Built my first CLI app in Rust: "Guess the Number" 🦀 Learned: Random number generation Pattern matching with match Loops + break control Next: Ownership & Borrowing time to dive into Rust’s core power! ⚙️ #Rust #Solana #30DaysTechChallenge
Rakesh tweet media
English
0
0
1
54