Jump to content

User contributions for PC

A user with 1,712 edits. Account created on 12 November 2025.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

24 November 2025

23 November 2025

  • 19:5819:58, 23 November 2025 diff hist +4,622 N The Decorator pattern: an easy way to add functionality Created page with "500px Photo by Thomas balabaud: https://www.pexels.com/photo/framed-photo-lot-1579708/ The Decorator pattern can be used to dynamically alter or add functionality to existing classes. This pattern is often more efficient than subclassing because it relieves us of the need of defining a new object. So, what does it look like? 500px To decorate a certain class the following steps must be taken: *..." current
  • 19:5719:57, 23 November 2025 diff hist 0 N File:Decorate certain class.png No edit summary current
  • 19:5519:55, 23 November 2025 diff hist 0 N File:The Decorator pattern.jpg No edit summary current
  • 19:5419:54, 23 November 2025 diff hist +8,649 N Option combinators Created page with "Incase you missed yesterday’s writeup where we covered Modules. You can check it through the link below. Modules I missed publishing yesterday’s writeup but here we are. If you missed our discussion on smart pointers check it out… medium.com Rust’s Option type is crucial to its safety guarantees, letting us explicitly handle cases where a value might be Some(T) or None. Earlier on we had seen the basics of Option, like how it replaces null pointers with a..." current
  • 19:5219:52, 23 November 2025 diff hist +1,935 N RustWasm to Be Archived Created page with "500px If their’s one thing the Rust team has been really good at its always catching as off-guard with announcements. Last week Alex Crichton from the Compiler team announced they’re archiving the Rust and Web Assembly GitHub org, which feels like a bittersweet breakup. The rustwasm GitHub org, once the cool kid of Rust’s WebAssembly scene, is getting the boot by September. After five years of radio silence, the Rust and WebA..." current
  • 19:5019:50, 23 November 2025 diff hist 0 N File:RustWasm to Be Archived.jpg No edit summary current
  • 19:4919:49, 23 November 2025 diff hist +8,879 N Modules Created page with "I missed publishing yesterday’s writeup but here we are. If you missed our discussion on smart pointers check it out below. Smart Pointers Yesterday we covered Closures, why they are important and edge cases to watch when working with them. If you missed it… medium.com Rust’s module system is just about organizing your code into logical, reusable pieces. Think of it like organizing a messy toolbox, sockets in one drawer, wrenches in another, and screwdrivers neat..." current
  • 19:4719:47, 23 November 2025 diff hist +13,414 N Smart Pointers Created page with "Yesterday we covered Closures, why they are important and edge cases to watch when working with them. If you missed it check the link down below. Closures Yesterday we covered Error Handling with ?, if you missed it i’d suggest you check it out first. medium.com Rust’s ownership model is its secret sauce for memory safety, but sometimes you need more flexibility than raw ownership provides. That’s where smart pointers come in, they’re like specialized tools th..." current
  • 19:4219:42, 23 November 2025 diff hist +7,639 N Mastering the Deref Trait in Rust: Patterns, Pitfalls, and Practical Use Created page with "500px One of the less visible but incredibly useful features of Rust is the Deref trait. If you've used Box, Rc, or Arc, you've already relied on it, even if you've never written an implementation yourself. Deref allows smart pointers and custom wrapper types to behave like references to their inner values. This enables ergonomic code, eliminates boilerplate, and ensures seamless integration with existing APIs. Despite its..." current
  • 19:4119:41, 23 November 2025 diff hist 0 N File:Mastering the Deref Trait.jpg No edit summary current
  • 19:3919:39, 23 November 2025 diff hist +12,673 N 14 Rust Concepts Every Developer Should Master Created page with "Rust has consistently been voted one of the most loved programming languages, and for good reason. Its focus on memory safety, performance, and concurrency without a garbage collector makes it a powerful choice for everything from systems programming to web development. 500px However, Rust’s unique approach to these problems can feel daunting at first, especially if you’re coming from languages with different paradigms. To truly unlock..." current
  • 19:3619:36, 23 November 2025 diff hist 0 N File:14 Rust Concepts.jpg No edit summary current
  • 19:3519:35, 23 November 2025 diff hist +12,804 N Closures Created page with "Yesterday we covered Error Handling with ?, if you missed it I’d suggest you check it out first. Error Handling with ? Today we’ll be talking about error handling in Rust, specifically the `?` operator, in a way that feels practical and… medium.com Imagine you’re writing a web server that processes user requests. Each request needs to be handled based on some condition, like checking if a user is logged in. Instead of writing a separate function for every possi..." current
  • 19:2919:29, 23 November 2025 diff hist +11,931 N Error Handling with ? Created page with "Today we’ll be talking about error handling, specifically the `?` operator, in a way that feels practical and grounded in real-world scenarios. If you missed yesterday’s piece on Generics, you can check it out below. Generics The days are flying by, it’s already day 22! Yesterday, we discussed Traits, and if you missed it, you can catch up… medium.com Rust’s approach to errors is one of its standout features, it’s designed to make your code safer and more p..." current
  • 19:2619:26, 23 November 2025 diff hist 0 A Guide to Flexible & Easy Thread-Safe Rust: Unveiling the Multiton Pattern for Efficient Lazy Initialization No edit summary current
  • 19:2619:26, 23 November 2025 diff hist +15,720 N A Guide to Flexible & Easy Thread-Safe Rust: Unveiling the Multiton Pattern for Efficient Lazy Initialization Created page with "500px The Singleton may be one of the most familiar design patterns. However sometimes it is necessary not have just one object of a certain type in your program, but several. That is when the Multiton comes in. The Multiton simply looks like this: 800px The Multiton basically manages a number of instances of an object, usually stored in a dictonary or a hashmap which can be retrieved using a key, usually..."
  • 19:2319:23, 23 November 2025 diff hist 0 N File:Multiton.jpg No edit summary current
  • 19:2319:23, 23 November 2025 diff hist 0 N File:A Guide to Flexible & Easy.jpg No edit summary current
  • 19:2119:21, 23 November 2025 diff hist +10,288 N Traits Created page with "In our previous writeup, we looked at Lifetimes and their importance in Rust. If you missed it, you can check it out below. Lifetimes Yesterday we looked at Slices and their nitty-gritties, I’d suggest you check it out below. medium.com In Rust, a trait is a way to define a set of methods that types can implement. Think of it as a blueprint for behavior. If you’ve worked in other languages, traits are somewhat akin to interfaces in Java or protocols in Swift, but..." current
  • 19:1919:19, 23 November 2025 diff hist +97 Tree Borrows Just Landed No edit summary current
  • 19:1919:19, 23 November 2025 diff hist +3,583 N Tree Borrows Just Landed Created page with "500px Hello, Rustaceans Hope you had an awesome and productive week last week. Let’s roll! In this issue, we’ll discuss the recently published Tree Borrows paper, present you a Rust quiz, spotlight an amazing Rust project, and share ten (10) incredible links of the week. Here’s issue 76 for you! THE MAIN NEWS Tree Borrows Just Landed 🦀 While we were still enjoying the shiny new features that released on crates.io, th..."
  • 19:1819:18, 23 November 2025 diff hist 0 N File:Tree Borrows Just Landed.jpg No edit summary current
  • 19:1719:17, 23 November 2025 diff hist +12,199 N Building KITT: Kafka Implementation Throughput Tool, the Knight Rider Way Created page with "500px From tangled rate discovery to an elegant, self-balancing system, this is the story of how a Kafka benchmarking tool matured into a reliable and insightful performance probe. The Problem to Solve The core objective was straightforward yet technically nuanced: determine the maximum sustainable throughput a Kafka broker can maintain without accumulating an unmanageable backlog. The goal extended beyond raw throughput numbers — it also..." current
  • 19:1719:17, 23 November 2025 diff hist 0 N File:Building KITT.jpg No edit summary current
  • 19:1319:13, 23 November 2025 diff hist +8,881 N Lifetimes Created page with "Yesterday we looked at Slices and their nitty-gritties, I’d suggest you check it out below. Slices Yesterday we checked out Loops in-depth and other niceties around them, if you missed it, I’d recommend checking it out… medium.com Rust’s ownership model is all about ensuring memory safety at compile time. Lifetimes are a key part of this, specifying how long references are valid. Think of them as the compiler’s way of tracking the “lifespan” of a borrowed..." current
  • 19:1119:11, 23 November 2025 diff hist +11,213 N Easy Abstractions: Mastering Abstract Factory Design Pattern in Rust Created page with "500px Photo by Pixabay: https://www.pexels.com/photo/low-angle-shot-of-manufacturing-plant-under-blue-sky-257700/ The Abstract Factory Pattern is a way to group the creation of related objects, like products of a certain brand or make by building a common factory interface. If this all sounds abstract, a picture can help: 500px A short breakdown: * All the factories have a common interface called Abstra..." current
  • 19:0719:07, 23 November 2025 diff hist 0 N File:Abstract factory.jpg No edit summary current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)