Jump to content

Main public logs

Combined display of all available logs of JOHNWICK. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 08:07, 16 November 2025 PC talk contribs created page 5 Concurrency Mistakes in Go, Rust, and Node That Kill Throughput (Created page with "Your app is not slow because of your database.
It is slow because your threads, goroutines, and event loops are fighting each other for air. Every engineer hits this wall once. The system “works,” but throughput drops as soon as real traffic hits. You scale horizontally. You blame latency. But deep down, you know something else is bleeding CPU cycles quietly. 1. Shared State Without Boundaries The deadliest concurrency bug is invisible — shared state mutation....")
  • 08:05, 16 November 2025 PC talk contribs created page Building a Rust Compiler: Understanding the Magic Behind the Curtain (Created page with "The terminal cursor blinks. You type cargo build and press enter. Lines of text scroll past—dependencies resolving, crates compiling, optimizations running. Two minutes later, a binary appears. Executable. Ready to run. You trust this process completely without understanding any of it. You’re not alone in that blind spot. A 2024 developer survey found that 71% of programmers have never looked at compiler internals, even though they interact with compilers dozens o...")
  • 08:03, 16 November 2025 PC talk contribs created page How to Completely Uninstall Rust (installed via rustup) — The Friendly, No-Gotchas Guide (Created page with "So you installed Rust on Ubuntu with the classic one-liner: curl https://sh.rustup.rs -sSf | sh …and now you want it gone, cleanly. Maybe you’re freeing space, switching machines, or just doing a fresh setup. Whatever the reason, here’s a crisp, battle-tested way to remove rustup, rustc, cargo, toolchains, and caches — without leaving PATH gremlins behind. Summary (Optimal Fast Path) If you installed Rust using rustup (the curl script above), run: # 1) U...")
  • 08:01, 16 November 2025 PC talk contribs created page Rust Error : “lifetime may not live long enough” — why &static fn(T) - T doesn’t mean what you think (Created page with "You’ve got a tidy little generic: pub struct Test<T> { f: &'static fn(T) -> T, } …and Rust fires back: the parameter type T may not live long enough
help: consider adding a bound T: 'static Why is the lifetime of a reference to a function pointer tangled up with the lifetime of T? After all, code lives forever, right? Let’s unpack what the compiler is protecting you from, and then fix it in a few idiomatic ways. The core intuition * &'static fn(T)...")
  • 07:59, 16 November 2025 PC talk contribs created page If StackOverflow Had Feelings, It Would Be Written in Rust (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:56, 16 November 2025 PC talk contribs created page Why Google, Microsoft, and the White House Chose Rust? (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:54, 16 November 2025 PC talk contribs created page Bridging Two Worlds: Integrating Rust with Go Using CGo (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:52, 16 November 2025 PC talk contribs created page Binary Diet: Shrinking Rust Releases Without Sorcery (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:50, 16 November 2025 PC talk contribs created page I Built My Own AI Girlfriend in Rust — And She Actually Remembers Me (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:48, 16 November 2025 PC talk contribs created page Profiling Rust Made Easy: cargo-flamegraph, perf & Instruments (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:46, 16 November 2025 PC talk contribs created page Rust — 7 Essential Crate That Will Instantly Elevate Your Project in Rust (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:44, 16 November 2025 PC talk contribs created page Meet Puhu: A Fast Python Image Library (with a Secret Rust Core) (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:42, 16 November 2025 PC talk contribs created page Rust in the Backend: When (and When Not) to Replace Your Node/Python Services (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:41, 16 November 2025 PC talk contribs created page Fixing Rust’s “linker cc not found” on Debian (WSL on Windows 10): A Clear, No-Nonsense Guide (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:40, 16 November 2025 PC talk contribs created page Rust Data Structures: Vec T, & T , Box T. Do You Really Understand Collection Containers? (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:35, 16 November 2025 PC talk contribs created page Finally Understanding Rust Ownership: A Visual Guide (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:33, 16 November 2025 PC talk contribs created page 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 (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:31, 16 November 2025 PC talk contribs created page 7 Hard Security Wins Rust Guarantees — And 9 Traps It Won’t Save You From (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:30, 16 November 2025 PC talk contribs created page Is it possible to cause a memory leak in Rust? (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:28, 16 November 2025 PC talk contribs created page Inside the Borrow Checker: How Rust Validates Lifetimes in MIR (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:27, 16 November 2025 PC talk contribs created page How to Get a Slice as an Array in Rust (Without Losing Your Mind) (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:25, 16 November 2025 PC talk contribs created page How Miri Simulates Rust’s Memory Model for Undefined Behavior Detection (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:24, 16 November 2025 PC talk contribs created page What If Rust Ran in the Browser Natively — Without WebAssembly? (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:02, 16 November 2025 PC talk contribs created page What Is the Equivalent of the join Operator Over a Vec String in Rust? (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:01, 16 November 2025 PC talk contribs created page Futures and Wakers Explained — The Real Async Engine Inside Rust (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:59, 16 November 2025 PC talk contribs created page Google Launches Magika 1.0: Rust-Powered AI Engine Doubles File Type Detection Capabilities (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:58, 16 November 2025 PC talk contribs created page Rust-cargo-docs-rag-mcp (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:57, 16 November 2025 PC talk contribs created page What Learning Rust Taught Me About My Java Code (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:56, 16 November 2025 PC talk contribs created page 7 Boring Rust Sidecar Wins — Cut Memory 40% Without Rewrites (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:53, 16 November 2025 PC talk contribs created page Rust is King, But Java’s Project Loom Just Changed the Game (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:52, 16 November 2025 PC talk contribs created page Rust, ORT, ONNX: Real-Time YOLO on a Live Webcam- Part 3 (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:51, 16 November 2025 PC talk contribs created page Learning Rust Part 2 — Data Layout and Enums in Practice (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:49, 16 November 2025 PC talk contribs created page Building a High-Performance Orderbook Aggregator in Rust (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:48, 16 November 2025 PC talk contribs created page The Pin API Explained: Why Rust’s Async Needs This Complexity (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:45, 16 November 2025 PC talk contribs created page The White-Collar Rust Belt (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:44, 16 November 2025 PC talk contribs created page Initialize a large, fixed-size array with non-Copy types in RUST (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:42, 16 November 2025 PC talk contribs created page From JavaScript to Rust: A Web Developer’s Journey Into Systems Programming (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:41, 16 November 2025 PC talk contribs created page Are Globals in Rust a Bad Idea… or a Necessary Evil? (With SQLite Examples) (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:40, 16 November 2025 PC talk contribs created page My Rust Server Handles 100k Concurrent Users (And Here’s the Proof): Part 2 (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:37, 16 November 2025 PC talk contribs created page Rust vs OCaml in 2025 — Benchmarks, Binary Sizes, and a 10-Minute Decision Tree (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:35, 16 November 2025 PC talk contribs created page Rust’s Two Kinds of mut: Binding vs. Borrow (and how to pick the right one) (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:33, 16 November 2025 PC talk contribs created page Fine Tuning Models in PyTorch & Using ONNX for Inference in Python & Rust (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:31, 16 November 2025 PC talk contribs created page The M:N Scheduler Problem: How Rust Futures and Go Goroutines Handle Thread-Bound I/O (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:30, 16 November 2025 PC talk contribs created page Best Blockchain Dev Pathway for 2026: EVM, Rust, or TON? (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:28, 16 November 2025 PC talk contribs created page Web3 Languages: Episode 4 — Rust, The Borrow Checker With Biceps (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:24, 16 November 2025 PC talk contribs created page Why Go Developers Are Cheering About Rust’s Secret Memory Trick (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:23, 16 November 2025 PC talk contribs created page Let It Crash: 7 Erlang Lessons Every Java, Go, and Rust Engineer Should Steal in 2025 (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:22, 16 November 2025 PC talk contribs created page Design Patterns in Rust: Factory method, automating the factory — Code nomad (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:20, 16 November 2025 PC talk contribs created page Rust’s “Borrow Checker” Explained: The One Feature That Makes You a Better Programmer (Even in Other Languages) (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:18, 16 November 2025 PC talk contribs created page Inside Cranelift IR — How Rust Code Turns Into Machine Instructions at Runtime (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...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)