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)
  • 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...")
  • 00:17, 16 November 2025 PC talk contribs created page Why GPU Drivers Became the New Frontline in the Rust Versus C Debate (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:15, 16 November 2025 PC talk contribs created page The Rust Patterns That Break the Moment Real Traffic Arrives (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:13, 16 November 2025 PC talk contribs created page Rust“Wait… why is 2 ^ 10 equal to 8?” — Exponentiation in Rust (the right way) (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:12, 16 November 2025 PC talk contribs created page 3 Rust Debugging Tricks Every Developer Should Know (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...")
  • 00:10, 16 November 2025 PC talk contribs created page Beyond Threads: Unveiling the Async I/O Performance Kings — Rust Futures vs. Go Goroutines (Created page with "Okay, so let’s be real for a sec. In today’s crazy-fast software world, making your applications handle tons of requests without, like, totally seizing up is super important. I mean, think about it- from those lightning-quick web services we all use to processing data in real time, our apps just gotta juggle a bunch of tasks all at once. And often, they’re waiting on something external, right? Like maybe a network response or a database doing its thing. That’s...")
  • 00:08, 16 November 2025 PC talk contribs created page R“Rust-analyzer failed to load workspace” in VS Code — The Fixes That Actually Work (Created page with "You’ve finally carved out an evening to learn Rust, you scaffold a project with cargo new, pop open VS Code, and… boom: rust-analyzer failed to load workspace: Failed to read Cargo metadata …
cargo metadata exited with an error:
error: could not execute process rustc -vV (never executed)
Caused by: No such file or directory (os error 2) I’ve been there. This post is the piece I wish I’d had the first time rust-analyzer melted down on me. We’ll decod...")
  • 00:07, 16 November 2025 PC talk contribs created page Streaming Analytics in Rust: Polars, Arrow, and Real-World Benchmarks (Created page with "The analytics landscape is experiencing a seismic shift. While data engineers have relied on Python’s pandas and Spark for years, a new generation of Rust-powered tools is redefining what’s possible in streaming analytics. Polars achieves more than 30x performance gains compared to pandas, while the new streaming engine shows that Polars streaming can be up to 3–7x faster than its own in-memory engine. This isn’t just about raw speed — it’s about building ana...")
  • 00:05, 16 November 2025 PC talk contribs created page NASA’s Rust Adoption Journey (Created page with "I spent six hours fighting the borrow checker on a telemetry parser. Then I realized my entire approach was wrong. The code looked fine. Parse incoming sensor data, store it in a shared buffer, spawn threads to process different data streams. Simple concurrent design — the kind I’d written dozens of times in C++. Rust’s compiler rejected it with a wall of red text about borrowed references and mutable aliasing. I thought the compiler was being pedantic. It was actu...")
  • 00:04, 16 November 2025 PC talk contribs created page Creating a Neural Network from Scratch in Rust — Part 2 (Created page with "In the previous article of this series, Creating a Neural Network from Scratch in Rust — Part 1, we learned more about the neurons and the perceptron model. Now we're ready to dig deeper into how neural networks learn, process, and "store" information. My goal in this post is to build up the foundation and understanding needed so that in the next articles, we can continue implementing our neural network in Rust. My goal here is not to explain all the math and details,...")
  • 00:02, 16 November 2025 PC talk contribs created page I Rewrote Our Slowest Service In Rust: The Brutally Honest Before-And-After (Created page with "There was one box on our architecture diagrams that everyone secretly feared. Whenever a dashboard looked red, someone would say the name of that service and the whole room would go quiet. Nobody wanted to own it. Nobody wanted their sprint hijacked by it. Tickets that touched it moved through the board like a hot potato. Developers would quietly shift them away during planning, hoping nobody noticed. For a long time, I did the same.
Until I realised I was spending mor...")
  • 00:00, 16 November 2025 PC talk contribs created page 6 Times Unsafe Rust Was Actually the Right Choice (Created page with "A single unsafe block once saved our payment service from collapse.
It was the only way to stop latency from spiking and throughput from falling off a cliff. Unsafe is not evil. It is power wrapped in responsibility.
Used with intent, it can make the impossible both safe and fast. This is a look at six real scenarios where unsafe Rust was the right call — and why. 1. Calling a Battle-Tested C Library Without Copies Problem: Rewriting a C encoder in Rust was...")
  • 23:58, 15 November 2025 PC talk contribs created page Google’s 1000x Security Win: What Android’s Rust Migration Means for the Language’s Future (Created page with "Memory safety vulnerabilities now account for less than 20% of Android’s total vulnerabilities. Four years ago, that number was over 75%. The culprit behind this dramatic shift? Rust. Google just released their 2025 data on Rust adoption in Android, and the numbers are staggering. But here’s what makes this genuinely exciting for Rust developers: the story isn’t just about security anymore — it’s about velocity. The Numbers That Matter Let’s cut straight t...")
  • 23:57, 15 November 2025 PC talk contribs created page The Rust Trick That Shrinks Bloated Code Into Clean, Elegant Logic (Created page with "One feature combination turned two hundred lines of fragile glue code into twenty lines of clear intent.
That reduction saved time, reduced bugs, and made the code base easier to review. Clarity feels like luxury when deadlines are tight. Clarity becomes necessity when bugs hide inside layers of helpers. The Rust feature combo described here makes clarity practical and measurable. Why this matters to the reader • Less code means fewer places for errors to hide.
...")
  • 23:56, 15 November 2025 PC talk contribs created page Rust’s Borrow Checker vs. Early Returns: Why Your Fallback Fails (and the One-Line Fix) (Created page with "If you’ve ever tried to “try this, else fall back” with a mutable reference in Rust, you may have met this villain: error[E0499]: cannot borrow `self.val` as mutable more than once at a time It often shows up with code shaped like this: struct Foo { val: i32 } impl Foo { pub fn maybe_get(&mut self) -> Option<&mut i32> { Some(&mut self.val) } pub fn definitely_get(&mut self) -> &mut i32 { if let Some(val) = self.maybe_get() {...")
  • 23:53, 15 November 2025 PC talk contribs created page Implementing a Streamable HTTP MCP Server and Client in Rust with C++ FFI (Created page with "★ 1 — Introduction Building advanced AI applications requires more than a language model — you need real-world data and capabilities. The Model Context Protocol (MCP) bridges this gap, connecting models to external environments. In this post, we’ll explore how to build an MCP server and client in Rust, leveraging C++ FFI and the new streamable HTTP transport layer. MCP servers act as the backbone of MCP systems, exposing standardized capabilities that link l...")
  • 18:14, 15 November 2025 PC talk contribs created page Rust in 2025: The Ecosystem Finally Feels Complete (Created page with "The Cargo.toml file is open. You're adding dependencies for a new service web framework, database layer, async runtime and for the first time in years, you don't stop to research which crate is winning the ecosystem wars. Axum for HTTP. SeaORM for the database. Tokio underneath it all. You type them out, run cargo build, and twenty seconds later you have a working server with connection pooling and migrations. There’s this moment that happens when a language ecosyst...")
  • 18:13, 15 November 2025 PC talk contribs created page Angular’s Secret Weapon: Compiling Rust to WebAssembly for Blazing Performance (Created page with "Angular is a powerhouse for building sophisticated, large-scale applications. Yet, even the most optimized JavaScript/TypeScript code can hit a performance ceiling when dealing with CPU-intensive tasks like complex calculations, large data processing, image/video encoding, or cryptography. The solution? Augment your Angular application, not replace it, by integrating modules written in Rust and compiled to WebAssembly (Wasm). This combination is quickly becoming the...")
  • 18:11, 15 November 2025 PC talk contribs created page Concatenating Vectors in Rust: The Clean, the Fast, and the Idiomatic (Created page with "You asked a deceptively simple question that every Rustacean bumps into early on: “Is it even possible to concatenate vectors in Rust? If so, is there an elegant way?” Short answer: yes — and you have several elegant options. The best choice depends on whether you want to consume the second vector, keep it intact, or build a brand-new vector without mutating either. Below is your one-stop, Medium-ready guide (with copy-pasteable snippets) plus a quick decis...")
  • 18:10, 15 November 2025 PC talk contribs created page The Forgotten Corner of Rust: How Lifetime Elision Rules Are Implemented Internally (Created page with "Introduction: The Mystery You Never Think About If you’ve written Rust for more than a week, you’ve seen it — the mysterious &str or &self appearing without a visible lifetime. No 'a, no 'static, no annotation… yet the compiler just knows how long that reference lives. Ever wondered how? This silent convenience is powered by Rust’s lifetime elision rules, a tiny corner of the language that hides a surprisingly elegant system under the hood. It’s so...")
  • 18:09, 15 November 2025 PC talk contribs created page I Replaced Futures Soup With These 4 Rust Patterns and Shipping Got Calm (Created page with "Tasks leaked. Retries stacked. A single endpoint spawned a thicket of futures that no one owned. P95 crept past user patience and the pager kept score. I stopped defending tricks and rebuilt the hot path with four plain patterns. Latency dropped. Error graphs flattened. On-call became a quiet shift again. What follows is the exact playbook that worked for me, with tiny code and one honest table. The problem with futures soup Async by itself is not a design. A pile of...")
  • 18:07, 15 November 2025 PC talk contribs created page Rust Data Structures: Wait, These Seemingly Simple Structures Are All Smart Pointers? (Created page with "Up to now, we have learned Rust’s ownership and lifetimes, memory management, and type system. There’s still one major foundational area we haven’t covered yet: data structures. Among them, the most confusing topic is smart pointers — so today we’re going to tackle this challenge. We briefly introduced pointers before, but let’s review first: a pointer is a value that holds a memory address, and through dereferencing, you can access the memory address it poin...")
  • 18:05, 15 November 2025 PC talk contribs created page Learning Rust — Part 1 — Ownership Basics (and our first Rust app) (Created page with "Let’s learn Rust — the easy way! Quick setup You only need rustup, Rust’s toolchain manager. Debian/Ubuntu (incl. Lubuntu) sudo apt-get update sudo apt-get install -y rustup rustup-init -y source "$HOME/.cargo/env" # or open a new terminal rustc --version cargo --version macOS curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # or: brew install rustup && rustup-init -y Windows * Download and run rustup-init.exe (MSVC toolchain) Ownership: th...")
  • 17:59, 15 November 2025 PC talk contribs created page Image Classification in Rust with Tch-rs (Torch bindings) (Created page with "Rust has rapidly become a favorite among developers who want both performance and safety. While languages like Python dominate the machine learning landscape, Rust is increasingly being used for AI and data-intensive applications — especially when speed, memory efficiency, and low-level control are critical. In this tutorial, you’ll learn how to perform image classification in Rust using the powerful library — the official Rust bindings for LibTorch, the core...")
  • 17:57, 15 November 2025 PC talk contribs created page Type Erasure in Rust (Created page with "There’s a quiet kind of magic in Rust’s type system.
It’s strict, mathematical, and predictable — until you suddenly throw in a Box<dyn Trait>. And then? Everything changes.
The compiler stops knowing exactly what your type is, but still somehow knows how to use it safely. That trick — where Rust hides the actual type information but still lets you call methods — is called type erasure.
It’s what lets you write flexible code like this: fn draw_sh...")
  • 17:53, 15 November 2025 PC talk contribs created page Why Serious Rust Teams Write Code Completely Differently (And Why Their Bugs Die Young) (Created page with "Most people meet Rust the same way: * They try to compile a “simple” function. * The borrow checker screams. * They Google the error. * They tweet a meme about pain. Then they go back to Go, Java, or TypeScript and quietly decide Rust is “too much for a normal backend.” But the teams that stay? The ones that actually ship production backends or infrastructure in Rust? They don’t just “write faster code in a new language.”
They end up writing dif...")
  • 17:51, 15 November 2025 PC talk contribs created page Rust Is Fast. Yet Java Just Won A Battle No One Expected (Created page with "A production JVM feature reduced latency and operational toil while a Rust rewrite cost weeks of work and little real benefit.
That difference changed how engineering leaders plan language choices for critical services. A traffic spike revealed a subtle allocation pattern in Rust that increased tail latency. Java answered with a runtime feature and a small refactor that reduced tail risk and simplified operations. The result looked impossible at first. Then the number...")
  • 17:49, 15 November 2025 PC talk contribs created page RustIs it possible to use global variables in Rust? (Created page with "You’re wiring up a little Rust app to poke at a SQLite database. You open a Connection in main, and then… you start passing &db into function after function after function. Before long, half your code looks like this: fn create_table(db: &sqlite::Connection) { ...: } fn insert_user(db: &sqlite::Connection, user: &User) { ...: } fn delete_all_the_things(db: &sqlite::Connection) { ...: } // etc... At some point you think: “Can’t I just make the...")
  • 17:48, 15 November 2025 PC talk contribs created page Rust for Java Developers (Created page with "If you come from a Java background, you’re used to interfaces, inheritance, and garbage collection taking care of memory. Rust re-imagines these ideas — favoring compile-time safety and performance without a garbage collector. This post bridges that gap so you can map familiar Java concepts to Rust’s world. Basic Concepts in Rust Traits in Rust are conceptually like a Java interface. A trait specifies a set of method signatures that must be implemented. // Defines...")
  • 17:47, 15 November 2025 PC talk contribs created page Advanced Rust Concurrency Patterns: Building Lock-Free Data Structures (Created page with "Master Fearless Concurrency with Atomics, Channels, and Lock-Free Programming 🔒⚡ Rust’s motto is “fearless concurrency,” but what does that really mean in practice? Beyond basic threading and mutexes lies a world of advanced concurrency patterns that can make your programs blazingly fast and incredibly safe. Let’s explore lock-free data structures, advanced channel patterns, and atomic operations that will level up your concurrent programming game! 🚀...")
  • 17:45, 15 November 2025 PC talk contribs created page I shut down the Rust learning platform. Now I’m rebuilding it better (Created page with "Knowledge.Dev is back. I’ve built a full virtual publishing system that creates interactive books, formats PDFs, edits, translates, and delivers a completely new kind of product — one where you’ll see how to build real applications step by step. In this article, I’ll explain what’s coming to the new platform, and why everything in it is written in Rust — while we’ll be learning far more than just Rust. By the way, the platform had subscribers, and I sinc...")
  • 17:42, 15 November 2025 PC talk contribs created page Complete Guide to Merge Sort: Implementation in Rust (Created page with "When learning sorting algorithms, Merge Sort is an essential topic that cannot be overlooked. Today, we’ll dive deep into this efficient algorithm that uses the Divide and Conquer strategy, implementing it in Rust to understand its principles thoroughly. What is Merge Sort? Merge Sort is a stable sorting algorithm with O(n log n) time complexity. It follows the divide-and-conquer paradigm and operates in three distinct steps: 1. Divide Split the array in half. Calcu...")
  • 17:40, 15 November 2025 PC talk contribs created page Fighting the Rust Borrow Checker (and Winning) (Created page with "If you’ve written Rust for more than five minutes, you’ve probably met the borrow checker. It’s opinionated. It’s meticulous. And sometimes, when your code looks perfectly innocent, it still says “nope.” I recently bumped into this while hacking together a tiny pager UI with rustbox. The idea was simple: open a file, show a screenful of lines, and on spacebar show the next screenful. Nothing exotic. Here’s the shape of the first attempt: extern crate rus...")
  • 17:39, 15 November 2025 PC talk contribs created page Idiomatic Callbacks in Rust (Without Losing Your Mind Coming from C/C++) (Created page with "If you’ve spent years wiring callbacks in C or C++, you probably have muscle memory like this: typedef void (*Callback)(); class Processor { public: void setCallback(Callback c) { mCallback = c; } void processEvents() { // ... mCallback(); } private: Callback mCallback; }; Maybe you even pass a void* userdata to smuggle state into your callback. Simple, low-level, and it works. Then you open Rust and suddenly you’re staring at Fn, ...")
  • 17:37, 15 November 2025 PC talk contribs created page Type-Safe Clients in 2025: OpenAPI to TypeScript & Rust (Created page with "You just spent three hours debugging why a product field went from nullable to required and nobody told you. The API works fine. Your tests passed. But production is throwing errors because somewhere between the backend deploy and your PR, someone changed a schema and forgot to update the docs. Again. And you’re sitting there thinking there has to be a better way than manually checking Slack for “hey we changed the user endpoint” messages or reading through backend...")
  • 17:35, 15 November 2025 PC talk contribs created page Rust: The Unseen Powerhouse Supercharging LLM Inference (Created page with "You know, have you ever like, been chatting with one of those super-smart AI chatbots and thought, ‘Hmm, why’s it taking so long to think?’ ⏳ Or maybe you’ve used some ‘intelligent’ app that just, well, wasn’t all that zippy? In the crazy world of Large Language Models (LLMs), where even a tiny hiccup can totally mess up how you feel about using it, those little delays? Man, they’re a huge deal. As these mind-blowing models pretty much become part of o...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)