New pages
Appearance
16 November 2025
- 07:5907:59, 16 November 2025 If StackOverflow Had Feelings, It Would Be Written in Rust (hist | edit) [7,551 bytes] PC (talk | contribs) (Created page with "If StackOverflow were a person, it would be that relentlessly helpful friend who corrects your grammar and your runtime errors. You show up at 3 a.m., eyes glazed, whispering “segfault,” and they slide over a mug of coffee and a page of code comments. They’re blunt, a little pedantic, but they keep you from setting your production hair on fire. Now imagine that friend was a programming language. That language is Rust. It’s StackOverflow’s vibe distilled into...")
- 07:5607:56, 16 November 2025 Why Google, Microsoft, and the White House Chose Rust? (hist | edit) [7,433 bytes] PC (talk | contribs) (Created page with "The Language Nobody Expected to Win Something strange happened in the programming world. A systems language — one designed for low-level, nerdy work — became the darling of startups, cloud companies, and even governments. That language is Rust. And if you haven’t paid attention yet, the gap between you and the opportunity is closing fast. In 2010, Mozilla was stuck. They had a browser filled with C and C++, and those languages had a problem. Memory safety vulner...")
- 07:5407:54, 16 November 2025 Bridging Two Worlds: Integrating Rust with Go Using CGo (hist | edit) [12,936 bytes] PC (talk | contribs) (Created page with "Combining Rust’s Safety with Go’s Simplicity ⚡ Have you ever wondered how to leverage Rust’s blazing-fast performance and memory safety in your Go applications? The answer lies in CGo, Go’s powerful foreign function interface. In this guide, we’ll explore how to seamlessly integrate Rust code into your Go projects, combining the best of both worlds! 🚀 🤔 Why Integrate Rust with Go? Before diving into the technical details, let’s understand why this...")
- 07:5207:52, 16 November 2025 Binary Diet: Shrinking Rust Releases Without Sorcery (hist | edit) [6,408 bytes] PC (talk | contribs) (Created page with "“It’s just printing text,” he said. Fair point. A C version would’ve been what, 20KB? I muttered something about static linking and moved on. But that number kept bugging me. Four megabytes for twelve lines of code felt wrong. The Thing Nobody Tells You Here’s what happened: I built with cargo build --release and assumed that meant "optimized." Turns out, Rust's idea of optimized means "fast to execute" not "small to ship." The default release profile optimiz...")
- 07:5007:50, 16 November 2025 I Built My Own AI Girlfriend in Rust — And She Actually Remembers Me (hist | edit) [9,317 bytes] PC (talk | contribs) (Created page with "Why I chose privacy over convenience, and how you can build your own AI companion that never forgets 🤔 The Problem That Started It All Let’s be honest — we’ve all tried ChatGPT, Claude, or other AI assistants. They’re impressive, sure, but there’s something fundamentally broken about the experience. Every conversation starts from scratch. They don’t remember that you told them your name yesterday, your favorite programming language, or that inside joke...")
- 07:4807:48, 16 November 2025 Profiling Rust Made Easy: cargo-flamegraph, perf & Instruments (hist | edit) [7,214 bytes] PC (talk | contribs) (Created page with "Think of your Rust program like a busy playground. Some kids (functions) are calmly swinging; others are hogging the slide. Profiling is how you watch the playground to learn where time is really being spent — so you can fix the bottlenecks instead of guessing. Below is a practical guide that borrows the best tips from the Rust community forum, a hands‑on blog tutorial, and a short case study showing how one team cut CPU usage by ~70% after reading a flamegraph t...")
- 07:4607:46, 16 November 2025 Rust — 7 Essential Crate That Will Instantly Elevate Your Project in Rust (hist | edit) [8,392 bytes] PC (talk | contribs) (Created page with "In Rust development, choosing the right third-party libraries (Crate) can significantly improve project quality and development efficiency. This article introduces 7 Crates that can greatly enhance Rust projects in key areas like error handling, serialization, asynchronous programming, HTTP requests, parallel computation, logging, and database access. Each Crate is paired with practical code examples and performance comparison data to help you quickly understand its valu...")
- 07:4407:44, 16 November 2025 Meet Puhu: A Fast Python Image Library (with a Secret Rust Core) (hist | edit) [5,231 bytes] PC (talk | contribs) (Created page with "Let me start with “Why I built Puhu?” If you’re a Python developer who has ever worked with images, you’ve probably used Pillow. It’s the reliable, go-to library for tasks such as resizing profile pictures and generating thumbnails. Pillow is legendary, but it’s also over two decades old. In the tech world, that’s ancient. As a Python developer who was starting to learn Rust, I found myself staring at Pillow and thinking… “I wonder if I can make that ...")
- 07:4207:42, 16 November 2025 Rust in the Backend: When (and When Not) to Replace Your Node/Python Services (hist | edit) [17,230 bytes] PC (talk | contribs) (Created page with "Rust in the Backend: When (and When Not) to Replace Your Node/Python Services The Significance of Rust in Backend Development As the landscape of backend development continues to evolve, Rust emerges as a compelling alternative to traditional programming languages like Node.js and Python. Its unique combination of performance, safety, and concurrency makes it an attractive option for developers looking to build robust and efficient server-side applications. Why Cons...")
- 07:4107:41, 16 November 2025 Fixing Rust’s “linker cc not found” on Debian (WSL on Windows 10): A Clear, No-Nonsense Guide (hist | edit) [5,785 bytes] PC (talk | contribs) (Created page with "You’ve installed Rust on Debian inside Windows Subsystem for Linux (WSL), ran your first rustc or cargo build, and—boom—got hit with: error: linker `cc` not found Good news: nothing’s wrong with Rust. You’re just missing the system C toolchain that Rust uses to link your final binary. On Linux, Rust typically invokes a system linker via a driver called cc (usually provided by GCC). On a fresh Debian/WSL install, that toolchain often isn’t there yet. Th...")
- 07:4007:40, 16 November 2025 Rust Data Structures: Vec T, & T , Box T. Do You Really Understand Collection Containers? (hist | edit) [17,384 bytes] PC (talk | contribs) (Created page with "Now that we have encountered more and more data structures, I have organized the main data structures in Rust from the dimensions of primitive types, container types, and system-related types. You can count how many you have mastered. As you can see, containers occupy half of the data structure landscape. When mentioning containers, you may first think of arrays and lists — containers that can be iterated. But in fact, as long as some specific data is wrapped inside...")
- 07:3507:35, 16 November 2025 Finally Understanding Rust Ownership: A Visual Guide (hist | edit) [7,721 bytes] PC (talk | contribs) (Created page with "You’re staring at your screen. The code looks completely normal. You’ve written this exact pattern in three other languages this week. But the Rust compiler is throwing “value borrowed here after move” and you’re just… stuck. It’s not that you don’t understand the words. It’s that the ground rules changed and nobody mentioned it. Variables don’t work the way they used to. Memory feels suddenly fragile, like you’re handling something that might break...")
- 07:3307:33, 16 November 2025 Rust’s “cannot move out of borrowed content” (a.k.a. “behind a shared reference”) — what it really means and how to fix it without (hist | edit) [7,141 bytes] PC (talk | contribs) (Created page with " Ever hit this? error[E0507]: cannot move out of `*line` which is behind a shared reference …and then you slap a .clone() on it, the code compiles, you ship it—and you’re still not sure why it failed in the first place? Let’s demystify this error, understand exactly what’s going on, and then walk through the most idiomatic, zero-allocation fixes. We’ll use your example and expand it into a general mental model you can reuse anywhere. The setup You ha...")
- 07:3107:31, 16 November 2025 7 Hard Security Wins Rust Guarantees — And 9 Traps It Won’t Save You From (hist | edit) [9,314 bytes] PC (talk | contribs) (Created page with "Pull Quote #1: Rust deletes memory-unsafe classes of bugs; Rust does not delete misuse. Rust’s pitch is paradoxical and powerful. Safe Rust makes entire categories of memory corruption impossible, yet exploitable systems still ship when logic, concurrency, or supply-chain decisions are wrong. That tension is the real story. Not language wars. Risk accounting. Below is a precise map: what safe Rust kills outright, what Rust narrows, and what you must still def...")
- 07:3007:30, 16 November 2025 Is it possible to cause a memory leak in Rust? (hist | edit) [7,193 bytes] PC (talk | contribs) (Created page with "Short answer: yes. Rust guarantees memory safety, not “no leaks ever.” It’s entirely possible — sometimes even desirable — to leak memory on purpose. The important bit is understanding how leaks happen in Rust, why they don’t violate memory safety, and how to avoid them when you don’t want them. This post walks through the most common leak patterns — Rc cycles, std::mem::forget, Box::leak, and Box::into_raw—and shows how to design your type...")
- 07:2807:28, 16 November 2025 Inside the Borrow Checker: How Rust Validates Lifetimes in MIR (hist | edit) [11,386 bytes] PC (talk | contribs) (Created page with "Introduction: The Unsung Hero of Safety If Rust had a soul, it would be the borrow checker. Every time your code compiles successfully, it means this invisible guardian has run thousands of tiny logical proofs — verifying that your data isn’t being accessed after it’s dead, ensuring no two mutable borrows overlap, and making sure your program won’t corrupt memory like a wild C pointer. But here’s the fun part: The borrow checker doesn’t operate on your sour...")
- 07:2707:27, 16 November 2025 How to Get a Slice as an Array in Rust (Without Losing Your Mind) (hist | edit) [6,941 bytes] PC (talk | contribs) (Created page with "You have an array or slice in Rust. You know it definitely has (at least) three elements. You want a nice, clean [u8; 3] out of it. So you try this: fn pop(barry: &[u8]) -> [u8; 3] { barry[0..3] // expected array `[u8; 3]`, found slice `[u8]` } …and the compiler gently tells you: expected array [u8; 3], found slice [u8] What’s going on, and how do you fix it in a clean, idiomatic way? Let’s walk through it step by step. Slices vs Arrays: Why the Co...")
- 07:2507:25, 16 November 2025 How Miri Simulates Rust’s Memory Model for Undefined Behavior Detection (hist | edit) [8,144 bytes] PC (talk | contribs) (Created page with "Introduction — The Debugger That Thinks Like the Compiler Rust doesn’t let you “wing it” with memory. It’s strict, almost annoyingly so — but for good reason. You might have heard of Miri, the mysterious tool that catches undefined behavior before your program ever runs natively. But what is Miri, really? It’s not a debugger. It’s not a linter. It’s something deeper — a virtual interpreter for Rust’s mid-level intermediate representation (MIR)...")
- 07:2407:24, 16 November 2025 What If Rust Ran in the Browser Natively — Without WebAssembly? (hist | edit) [7,904 bytes] PC (talk | contribs) (Created page with "Introduction — The Thought Experiment No One Asked For, but We’re Doing Anyway We live in a world where Rust is already inside your browser — indirectly. Every time you load a WebAssembly module, Rust is running after being translated into a safe, sandboxed bytecode. It’s powerful, but it’s not native. Rust doesn’t speak directly to the browser. There is no rustc → Chrome, no rustc → Firefox engine, no “native Rust VM” running inside the Java...")
- 01:0201:02, 16 November 2025 What Is the Equivalent of the join Operator Over a Vec String in Rust? (hist | edit) [7,464 bytes] PC (talk | contribs) (Created page with "If you’re coming to Rust from languages like Python, JavaScript, or Ruby, one of the first “quality of life” things you look for is a join operation: * Python: "-".join(["Foo", "Bar"]) * JavaScript: ["Foo", "Bar"].join("-") * Ruby: ["Foo", "Bar"].join("-") So naturally you ask: “What’s the equivalent of join for a Vec<String> in Rust?” You Google a bit, maybe see something about connect, maybe run into traits, lifetimes, and &str vs String,...")
- 01:0101:01, 16 November 2025 Futures and Wakers Explained — The Real Async Engine Inside Rust (hist | edit) [10,560 bytes] PC (talk | contribs) (Created page with "When I first learned async programming in Rust, I made a rookie mistake. I thought async and await worked like in JavaScript — just yield, resume, done. Oh, how wrong I was. Rust’s async system is nothing like JS, Python, or Go. It has no built-in runtime, no threads magically waiting around — it’s pure state-machine wizardry. Underneath every .await, there’s an engine of Futures and Wakers quietly scheduling, polling, and waking your code — all...")
- 00:5900:59, 16 November 2025 Google Launches Magika 1.0: Rust-Powered AI Engine Doubles File Type Detection Capabilities (hist | edit) [5,175 bytes] PC (talk | contribs) (Created page with "Google has officially launched Magika 1.0, a production-ready AI model designed for precise file type identification. This release marks a significant advancement in automated content detection, particularly for cybersecurity applications. Announced this month, the milestone version features a core engine completely rewritten in the Rust programming language, resulting in substantial performance improvements. The system now supports over 200 distinct file formats, doubl...")
- 00:5800:58, 16 November 2025 Rust-cargo-docs-rag-mcp (hist | edit) [662 bytes] PC (talk | contribs) (Created page with "they say necessity is the mother of invention. github.com/promptexecution/rust-cargo-docs-rag is an mcp server that downloads rust docs, counts the tokens, provides pagination and structures the information in a way that b00t can access it. I forked this because the original MCP server was so bad .. I noticed other people have also made rust doc servers; and google has picked those up but my version is better because it is dynamic (it allows the agent to request a sp...")
- 00:5700:57, 16 November 2025 What Learning Rust Taught Me About My Java Code (hist | edit) [8,557 bytes] PC (talk | contribs) (Created page with "I didn’t switch teams. I switched mental models. Rust didn’t make me abandon the JVM. It made me delete a lot of Java habits that quietly cost latency, memory, and sleep. The punchline: ownership, explicitness, and resource discipline translate beautifully into modern Java (records, pattern matching, structured concurrency). And when they do, your “enterprise defaults” suddenly look… noisy. Pull Quote #1: “Rust didn’t replace Java for me; it replaced...")
- 00:5600:56, 16 November 2025 7 Boring Rust Sidecar Wins — Cut Memory 40% Without Rewrites (hist | edit) [8,474 bytes] PC (talk | contribs) (Created page with "A contrarian playbook for teams who prefer graphs over glory. We had the rewrite itch. You know the one. “Throw it all away, do it ‘right’ in Rust, bask in p99 bliss.” We didn’t. We shipped a Rust sidecar instead — one tight, hot-path service next to our app — and cut memory by 40%, trimmed p95, and lowered GC churn. No heroics. No year-long migration. Just a smaller heap and quieter dashboards. The thesis: full rewrites are strategy claims disguised...")
- 00:5300:53, 16 November 2025 Rust is King, But Java’s Project Loom Just Changed the Game (hist | edit) [15,101 bytes] PC (talk | contribs) (Created page with "So, for what feels like, I don’t know, forever in our super fast-paced software world, Rust has really been the go-to champion. Especially if you’re talking about things like system-level programming, apps where every millisecond counts, or, dare I say it, “fearless concurrency.” Developers, myself included, have totally gravitated towards it. Why? Because it promises stuff like memory safety without a garbage collector — which is, like, a huge deal — plu...")
- 00:5200:52, 16 November 2025 Rust, ORT, ONNX: Real-Time YOLO on a Live Webcam- Part 3 (hist | edit) [16,674 bytes] PC (talk | contribs) (Created page with "In this third part of the series, we implement the actual YOLO object detector. As a reminder, the system runs across four threads: * the camera thread reads raw frames and hands them to thread 2; * the preprocessing thread resizes frames to 640×640 and bundles them with the original image and metadata into a YoloFrame; * the YOLO detector thread (this part) runs inference and draws results; * the UI thread renders the annotated output. Below is the YOLO...")
- 00:5100:51, 16 November 2025 Learning Rust Part 2 — Data Layout and Enums in Practice (hist | edit) [25,451 bytes] PC (talk | contribs) (Created page with "The Learning Journey Continues! Let’s keep building our intuition for Rust’s memory model — and level up our tiny CLI app while we’re at it. Recap Last time, we learned ownership: every value in Rust has exactly one owner, and when the owner goes out of scope, the value is dropped. We saw moves, copies, borrows, and how those ideas make memory safety the language’s responsibility rather than yours. Today we’ll go one level deeper — into how data live...")
- 00:4900:49, 16 November 2025 Building a High-Performance Orderbook Aggregator in Rust (hist | edit) [6,808 bytes] PC (talk | contribs) (Created page with "In the fast-paced world of cryptocurrency trading, having access to accurate and consolidated orderbook data is crucial for making informed trading decisions. In this article, we will explore the architecture and implementation of a high-performance orderbook aggregator built in Rust. This system fetches, processes, and merges orderbook data from multiple cryptocurrency exchanges, providing a unified view of the market. Architecture Overview The orderbook aggregator foll...")
- 00:4800:48, 16 November 2025 The Pin API Explained: Why Rust’s Async Needs This Complexity (hist | edit) [6,652 bytes] PC (talk | contribs) (Created page with "I was two days into debugging a custom Future implementation when the compiler hit me with cannot be unpinned. I stared at that error for a solid thirty minutes. What did "unpinned" even mean? The future worked fine when I .awaited it directly, but the moment I tried storing it in a struct and polling it myself, everything exploded. Turns out I’d been thinking about async Rust completely wrong. The Problem Nobody Told Me About Here’s what broke: I wanted to wrap...")
- 00:4500:45, 16 November 2025 The White-Collar Rust Belt (hist | edit) [7,753 bytes] PC (talk | contribs) (Created page with "A good name for the phenomenon is the White-Collar Rust Belt, which, humbly, is a name I made up. I’m referring to the vast quantity of vacant office space in the tall office buildings that you see clustered in big office parks and lining the sides of freeways. When the sun glimmers off their paneled windows, they look like impressive shining monuments to the so-called service economy. You’d think the buildings are chock-full of people sitting at their desks, working...")
- 00:4400:44, 16 November 2025 Initialize a large, fixed-size array with non-Copy types in RUST (hist | edit) [6,605 bytes] PC (talk | contribs) (Created page with "Summary Need [Option<Box<T>>; N] without Copy or Clone? * Rust ≥ 1.79: let a: [Option<Box<T>>; N] = [const { None }; N]; * Rust ≥ 1.63: let a = std::array::from_fn(|_| None); (works with any initializer logic!) * Rust ≥ 1.38: const INIT: Option<Box<T>> = None; let a = [INIT; N]; (initializer must be a const-eval value) If you’ve ever tried to initialize a fixed-size array of a nullable, non-copyable type in Rust — say, Option<Box<Thing>>...")
- 00:4200:42, 16 November 2025 From JavaScript to Rust: A Web Developer’s Journey Into Systems Programming (hist | edit) [10,209 bytes] PC (talk | contribs) (Created page with "The browser console blinks at you. undefined is not a function. You fix it in thirty seconds, refresh the page, move on. That's the rhythm of JavaScript—quick feedback, instant gratification, problems that resolve with a page reload. Then you open a Rust file for the first time and everything slows down. Like, dramatically slows down. You’re not alone in feeling that whiplash. A 2024 Stack Overflow survey found that 68% of web developers who tried systems programmi...")
- 00:4100:41, 16 November 2025 Are Globals in Rust a Bad Idea… or a Necessary Evil? (With SQLite Examples) (hist | edit) [8,568 bytes] PC (talk | contribs) (Created page with "If you’re coming to Rust from C/C++ or scripting languages, “just make it global” can feel like the easiest way to share state — like a database handle — across a bunch of functions. Rust pushes back hard on that instinct, and for good reasons (safety, testability, concurrency). But sometimes a single, shared “thing” really is central to your program. So: Can you use globals in Rust? Yes. Should you? Usually no — but sometimes yes, if you do it the...")
- 00:4000:40, 16 November 2025 My Rust Server Handles 100k Concurrent Users (And Here’s the Proof): Part 2 (hist | edit) [6,807 bytes] PC (talk | contribs) (Created page with "In the previous tutorial, “Blazingly Fast Rust Server from scratch– 100k connections like it’s nothing (Part 1)”, I claimed that my Rust server can handle 100k connections, yet I provided no proof! In this article, I will discuss the tests I performed to corroborate the outrageous claim. The setup is rather empirical because, along the way of stress testing our server, we learned a lot. However, after some trial and error, we got the proof we needed — we can h...")
- 00:3700:37, 16 November 2025 Rust vs OCaml in 2025 — Benchmarks, Binary Sizes, and a 10-Minute Decision Tree (hist | edit) [9,730 bytes] PC (talk | contribs) (Created page with "You are choosing a language for real work. You care about speed, but you also care about sleep. You want control without turning your day into a wrestling match. This is a straight walk through Rust and OCaml in 2025 with one goal: help you ship and feel proud of the choice. No drama. No noise. Just what matters for performance, footprint, and day-to-day flow. What You’ll Walk Away With * A decision path you can follow right now * Two allocation-aware code...")
- 00:3500:35, 16 November 2025 Rust’s Two Kinds of mut: Binding vs. Borrow (and how to pick the right one) (hist | edit) [6,177 bytes] PC (talk | contribs) (Created page with "Rust has two places where you’ll see mut, and they mean different things: * Before a variable name (mut foo): makes the binding mutable — you can reassign it, and you can borrow it mutably. * Inside the type (&mut T): makes the reference mutable — you’re allowed to mutate the thing it points to. If you keep just that sentence in your head, 90% of the confusion goes away. Let’s unpack it with the exact signatures you saw, why the mut moves aroun...")
- 00:3300:33, 16 November 2025 Fine Tuning Models in PyTorch & Using ONNX for Inference in Python & Rust (hist | edit) [29,391 bytes] PC (talk | contribs) (Created page with "[1] Overview I want to mostly focus on the Inference side of things and how ONNX can be leveraged, but to get there I want to cover fine tuning a model to serve as a starting point and as a working example. Then I will dive into the specifics of how to use ONNX for inference in both rust and python, also covering how some of the pre-processing transforms can be replicated without having to rely on the transforms used in PyTorch. Here is why ONNX can be advantageous — w...")
- 00:3100:31, 16 November 2025 The M:N Scheduler Problem: How Rust Futures and Go Goroutines Handle Thread-Bound I/O (hist | edit) [5,684 bytes] PC (talk | contribs) (Created page with "Your p95 dies when one syscall grabs the only thread — here is how to fence it in. I watch a clean async service stall after a single DNS call blocks the wrong thread and drags p95 up by 37 percent. Futures look busy. Goroutines look plenty. The reactor has work. The scheduler does not. I need to separate real nonblocking work from code that clings to an OS thread. The fix is not magic. It is placement. When thread-bound I/O stalls everything A neat M:N runtime colla...")
- 00:3000:30, 16 November 2025 Best Blockchain Dev Pathway for 2026: EVM, Rust, or TON? (hist | edit) [6,070 bytes] PC (talk | contribs) (Created page with "As we move toward 2026, the blockchain development landscape is evolving rapidly. Protocols are pushing for higher throughput, richer smart-contract capabilities, deeper cross-chain integration, and tighter ties between Web3 and traditional stacks. Meanwhile, the dev tooling in 2025 has matured — offering frameworks, SDKs, infrastructure, and patterns that set the stage. For teams planning new dApps, protocols, or infrastructure through 2026, understanding where the ec...")
- 00:2800:28, 16 November 2025 Web3 Languages: Episode 4 — Rust, The Borrow Checker With Biceps (hist | edit) [8,366 bytes] PC (talk | contribs) (Created page with "If the first three episodes gave you the lay of the land, this one is the trail run with ankle weights and a snack break. Rust is what happens when a systems language hits the gym, reads a few chapters on type theory, and decides memory safety can be fast, actually. If you need a refresher on the bigger Web3 picture, the Web3 overview is a good place to start. Then come back, lace up, and let’s ship something fearless. What is it? Rust is a general-purpose, compiled...")
- 00:2400:24, 16 November 2025 Why Go Developers Are Cheering About Rust’s Secret Memory Trick (hist | edit) [11,685 bytes] PC (talk | contribs) (Created page with "Alright, so let’s just get this out of the way, right? We’ve all heard the buzz about Go and Rust. For ages now, Rust has been sitting pretty, like the cool kid in school, with its legendary speed and memory safety. No garbage collector (GC) to fuss with, mostly! Its big secret? A super smart system that tracks who “owns” what in memory, stopping bugs dead in their tracks even before your code runs. Pretty neat, huh? But, I mean, let’s be real — diving into R...")
- 00:2300:23, 16 November 2025 Let It Crash: 7 Erlang Lessons Every Java, Go, and Rust Engineer Should Steal in 2025 (hist | edit) [7,770 bytes] PC (talk | contribs) (Created page with "People don’t remember the sprint where you shipped five features. They remember the day nothing broke when it should have. This is a blueprint for building that kind of calm. Borrowed from Erlang. Spoken in Java, Go, and Rust. 1) Let it crash — and bounce back Stop padding every edge with ifs and try/catches. Accept that some calls will fail. Recover by restart, not by adding more glue. Why this works: a fast restart is cheaper than a slow spiral. A clean resta...")
- 00:2200:22, 16 November 2025 Design Patterns in Rust: Factory method, automating the factory — Code nomad (hist | edit) [3,384 bytes] PC (talk | contribs) (Created page with "Creating objects can quickly become messy and repetitive — but it doesn’t have to be. The Factory Method pattern streamlines object creation by letting specific implementations decide what to build, keeping your code clean and flexible. In this article, we’ll explore how to implement the Factory Method pattern in Rust and see how it elegantly extends the Abstract Factory approach. Introduction In this article I discussed the implementation of the Abstract Factor...")
- 00:2000:20, 16 November 2025 Rust’s “Borrow Checker” Explained: The One Feature That Makes You a Better Programmer (Even in Other Languages) (hist | edit) [6,312 bytes] PC (talk | contribs) (Created page with "It’s the mythical gatekeeper of the language. It’s the source of a thousand blog posts titled “Why I Quit Rust.” It’s the reason your “simple” 10-line program won’t compile, screaming at you about “lifetimes,” “moves,” and “borrows.” My first week with Rust was a masterclass in humility. I’m a senior developer. I know how to code. But the borrow checker? It felt like a hyper-pedantic, passive-aggressive pair programmer who wouldn’t approve...")
- 00:1800:18, 16 November 2025 Inside Cranelift IR — How Rust Code Turns Into Machine Instructions at Runtime (hist | edit) [8,423 bytes] PC (talk | contribs) (Created page with "When you write a simple Rust program like println!("Hello, world!"), you probably imagine it being compiled directly into machine code and executed natively. And you’re right — most of the time. Rust uses ahead-of-time (AOT) compilation via LLVM to generate blazing-fast binaries. But there’s a hidden world — one that sits between Rust’s source and your CPU — where things could get much more dynamic. That world is Cranelift IR: a low-level, JIT-friendly in...")
- 00:1700:17, 16 November 2025 Why GPU Drivers Became the New Frontline in the Rust Versus C Debate (hist | edit) [6,285 bytes] PC (talk | contribs) (Created page with "A graphics driver crash took a production laptop down for an hour and forced a rewrite in a language no one expected to see inside the kernel. That one event changed how many kernel developers now argue about safety and performance. This is not an academic fight. It is a practical argument about which mistakes will be visible at scale and which will be invisible until they ruin someone else day. The GPU driver debate exposes a wider choice. The choices will shape sta...")
- 00:1500:15, 16 November 2025 The Rust Patterns That Break the Moment Real Traffic Arrives (hist | edit) [7,212 bytes] PC (talk | contribs) (Created page with "A production spike proved that clever Rust abstractions can hide catastrophic costs until traffic becomes real. This is a practical article. It is for engineers who ship code and then fix what breaks. The examples are short and concrete. The diagrams are drawn with text. The code is compact and actionable. Read this like a postmortem that could save hours of firefighting. Why this matters • Abstractions solve developer pain while they work on features. • At low tr...")
- 00:1300:13, 16 November 2025 Rust“Wait… why is 2 ^ 10 equal to 8?” — Exponentiation in Rust (the right way) (hist | edit) [5,769 bytes] PC (talk | contribs) (Created page with "If you’ve ever typed this in Rust: assert_eq!(2 ^ 10, 8); …and felt your brain do a somersault, you’re not alone. In Rust, the caret ^ is not exponentiation — it’s bitwise XOR. That’s why 2 ^ 10 (binary 0b0010 ^ 0b1010) becomes 0b1000, a.k.a. 8. Clear? Great. Now let’s do actual exponentiation, idiomatically and safely. Rust’s ^ is the XOR operator, not power. See the language reference / operator table. The simplest way: .pow(...) on n...")
- 00:1200:12, 16 November 2025 3 Rust Debugging Tricks Every Developer Should Know (hist | edit) [9,089 bytes] PC (talk | contribs) (Created page with "Stop guessing. Fix the cause. Ship confident code. This article gives three surgical, practical debugging tricks for Rust projects. Each trick is short, hands on, and built so that you can use it in the next hour. Code is clear. Benchmarks are realistic examples. Diagrams are hand-drawn style using lines so the architecture remains readable in plain text. Read this as a mentor speaking over coffee. Use these techniques to find the root cause faster, to stop chasing sympt...")