Main public logs
Appearance
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).
- 10:34, 17 November 2025 PC talk contribs created page Decoding the Future: Why Developers Are Choosing Rust GPUI Over Electron for Blazing-Fast Desktop UI (Created page with " file:Electron,_Weighed_down_by_the_past.webp You know that feeling, right? đŤ You click to open a desktop app- maybe itâs your chat client, or a productivity tool- and for a second, nothing. Then, your laptop fan kicks in, sounding like itâs about to take off, all for something that feels kinda basic. Ugh. Weâve all been there, trust me. For ages, the whole âwrite once, run anywhereâ dream for desktop apps usually came with a sneaky, annoying price ta...")
- 10:31, 17 November 2025 PC talk contribs created page File:GPUIâs Game-Changing Advantages .webp
- 10:31, 17 November 2025 PC talk contribs uploaded File:GPUIâs Game-Changing Advantages .webp
- 10:29, 17 November 2025 PC talk contribs created page File:Electron, Weighed down by the past.webp
- 10:29, 17 November 2025 PC talk contribs uploaded File:Electron, Weighed down by the past.webp
- 10:15, 17 November 2025 PC talk contribs created page File:Why WASM + Rust Will Replace Linux Containers.webp
- 10:15, 17 November 2025 PC talk contribs uploaded File:Why WASM + Rust Will Replace Linux Containers.webp
- 09:00, 17 November 2025 PC talk contribs created page Rust Error : How do I convert from an integer to a string ? (Created page with "File:Rust Error How do I convert from an integer to a string.jpg The short answer: use .to_string() (or format!) Hereâs the modern, idiomatic way to convert an integer into a String in Rust: fn main() { let x: u32 = 10; let s: String = x.to_string(); println!("{}", s); } Thatâs it. * x is a u32. * .to_string() converts it into an owned String. * println! happily prints it. If you prefer a formatting macro: let x: u32 = 10; let s = for...")
- 08:58, 17 November 2025 PC talk contribs created page File:Rust Error How do I convert from an integer to a string.jpg
- 08:58, 17 November 2025 PC talk contribs uploaded File:Rust Error How do I convert from an integer to a string.jpg
- 08:55, 17 November 2025 PC talk contribs created page File:Rust Error How do I convert from an integer to a string.webp
- 08:55, 17 November 2025 PC talk contribs uploaded File:Rust Error How do I convert from an integer to a string.webp
- 08:34, 17 November 2025 PC talk contribs created page How to Print the Type of a Variable in Rust (The Practical, Zero-Crate Way) (Created page with "âWhat type is this?â is one of those questions you ask a dozen times a day while learning or debugging Rust. Good news: you donât need nightly features or extra crates to peek at a valueâs type â the standard library already has your back. Summary Use the functions in std::any: use std::any::{type_name, type_name_of_val}; fn main() { let mut my_number = 32.90; // defaults to f64 println!("{}", type_name_of_val(&my_number)); // prints "f64" // Alte...")
- 08:21, 17 November 2025 PC talk contribs created page Why Rust Is the Fastest Growing Programming Language in 2025 (Created page with "The numbers donât lie â Rustâs developer community has doubled in two years, and major tech companies are betting their future on it. When the White House publishes a cybersecurity report recommending a programming language over industry standards like C and C++, you pay attention. That happened in February 2024, when the US government officially endorsed Rust for memory safety reasons. But this wasnât just political theater. It reflected a seismic shift already...")
- 08:20, 17 November 2025 PC talk contribs created page A Powerful Example of Macros and Traits in Rust (Created page with "When writing integration tests for the Rust web APIs of the Flutter-Actix app and ReallyStick, I discovered that SQLxâs #[sqlx::test] macro not only simplified my code but also solved a disk space problem. More importantly, I learned a valuable lesson: always read the crate documentation instead of blindly following tutorials. But beyond that, #[sqlx::test] is a perfect example of how Rustâs macro system and trait system work together to create powerful abstr...")
- 08:18, 17 November 2025 PC talk contribs created page Conditional Compilation in Rust with Feature Flags (Created page with "I was checking out the OpenObserve â an open-source observability tool which you can self-host or use their cloud offering which offers free, standard and enterprise tier to choose from. Written completely in rust so I thought of checking the codebase on Github to get myself more aquatinted with rust language. While doing so I found a #[cfg(feature = âenterpriseâ)] being used in many places. Looking at it, one can tell that any function or block decorated wi...")
- 08:15, 17 November 2025 PC talk contribs created page Breaking Rust Isnât the Future of Music â You Are (Created page with "The Mirage of a #1 Hit A cowboy with a gravelly voice, a windswept hat, and 2.2 million monthly Spotify listeners just topped a Billboard chart. Except he never lived, never breathed, never broke his heart, and definitely never held a guitar. He is an AI-generated mirage named Breaking Rust. And yet â he became a global headline. But the real story isnât that AI made a hit. Itâs that we wanted to believe it did. The Manufactured Panic When the news broke that...")
- 08:14, 17 November 2025 PC talk contribs created page Rust Is Cool. But Java Just Did Something Smarter in 2025 (Created page with "In July 2025, I watched a viral X thread: âRust is eating Javaâs lunch â memory safety, speed, no GC.â I felt the FOMO. My team was knee-deep in a high-frequency trading system â 2 million TPS, sub-millisecond latency. Rust looked tempting. Then Java 25 dropped Project Leyden. One config change later, our JVM startup went from 8.2 seconds to 180 milliseconds. No rewrite. No retraining. Just smarter Java. By November 2025, that single upgrade saved us $42,00...")
- 08:11, 17 November 2025 PC talk contribs created page Rustâs Loop: How One Game Changed Development Forever (Created page with "Rustâs update-driven model created a profitable loop between developers and content creators â but itâs making every game feel the same. The survival game Rust didnât just create a genre â it created a business model. Through consistent monthly updates, a symbiotic relationship with content creators, and a profitable DLC strategy, Facepunch Studios demonstrated that finished games never need to be truly finished. The result has been revolutionary, transformat...")
- 08:10, 17 November 2025 PC talk contribs created page How Rust Manages Memory Like a Pro without needing a Garbage Collector? (Created page with "Rust is ruling the programming world. People are loving the language; almost every other article recommended to me is the performance benchmark of Rust v/s Other languages and how Rust is saving thousands of dollars in server cost due to the performance benefits brought by Rust. Rust is at the top of almost every StackOverflow Developer Survey. Rust is yet again the most admired programming language (72%), followed by Gleam (70%), Elixir (66%) and Zig (64%). Gleam is...")
- 08:07, 17 November 2025 PC talk contribs created page Listing Files in a Directory in Rust (The Practical Guide, with Python Parallels) (Created page with "If youâre coming from Python, youâve probably written this a hundred times: import os files = os.listdir("./") Itâs compact, readable, and âjust works.â In Rust, you have the same power with a little more type safety and control. This post shows several idiomatic ways to list directory contents in Rust â from a quick printout to filtered, sorted, recursive, globbed, and even async listings. Copyâpaste ready. Summary: The One-Liner Version Rustâs stand...")
- 08:04, 17 November 2025 PC talk contribs created page When the Optimizer Lies: The Subtle Art of Unsafe Performance in Rust (Created page with "If youâve ever gone down the âI can make this fasterâ rabbit hole in Rust, you know the feeling: you sprinkle in some unsafe, tighten your loops, and suddenly â boom â a benchmark shows a 2Ă improvement. You lean back, satisfied. Then you rerun it on another machine⌠and itâs slower. Or worse â it segfaults. Welcome to the shadowy world of Rustâs optimizer â where your code and LLVMâs assumptions sometimes part ways.â¨And sometimes, the optimi...")
- 08:03, 17 November 2025 PC talk contribs created page 5 Async Patterns That Made My Rust Code 3x Faster (Created page with "I didnât expect a single missing await to slow down an entire service.â¨But thatâs how Rust teaches you: with silence, then pain, then clarity. Async in Rust is not magic.â¨Itâs a contract: structure your concurrency well, and it rewards you with speed.â¨Break that contract, and your service stutters, stalls, or quietly blocks the whole executor. Press enter or click to view image in full size Avoid holding locks across await points Locking in async Rust is s...")
- 07:59, 17 November 2025 PC talk contribs created page Building AI & Machine Learning Apps with Rust (Created page with "From ChatBots to Neural Networks â Making AI Fast and Safe! đ¤â¨ Python dominates AI/ML, but Rust is catching up fast! If you want to build AI applications that are blazing fast, memory-efficient, and production-ready, Rust is your secret weapon. Whether youâre building chatbots, recommendation systems, or running neural networks, letâs explore how Rust makes AI development exciting! đ đ¤ Why Use Rust for AI/ML? The AI Challenge: * đ Python is slow...")
- 07:56, 17 November 2025 PC talk contribs created page THE JOURNEY TO BECOMING A WORLD-CLASS RUSTACEAN-1 (Created page with "I went the route of ignoring Rust, while being vocal about the EVM being sufficient, and even got into fiery arguments regarding EVM vs SVM and CosmWasm. Despite the inherent flaws the Ethereum Virtual Machine possesses, I believe â and still do â that a system built specifically for an ecosystem will remain the top platform in the long run, the platform of choice for any tangible protocol built in the space. Given how intensely I defended the EVM and Solidity, its p...")
- 07:53, 17 November 2025 PC talk contribs created page I Re-wrote One Spring Boot Microservice in Rust and Measured Everything for 30 Days (Created page with "1. Why I even considered mutiny against Spring Boot Iâve shipped Spring Boot code since 2.0. I like the ergonomics, I like @Transactional, and I really like the ecosystem.â¨But at 03:14 on Black Friday our user-auth service cold-started in 14.2 s on a t3.medium. The ELB threw 502s for 38 seconds. We lost ~4 k sign-ups.â¨Post-mortem showed the JVM was 180 MB at idle and the container image cracked 420 MB.â¨I asked myself: âIs the JVM the only culprit, or can a c...")
- 07:52, 17 November 2025 PC talk contribs created page My Python Comfort Zone Shattered: Embracing Rust for Blazing-Fast, Bug-Free Code (Created page with "You know that feeling, donât you? That cozy, familiar hum you get from a tool that just fits? For the longest time, honestly, that was Python for me. It was my trusty sidekick, my go-to for pretty much everything. Iâm talking about those quick little scripts Iâd whip up before my first coffee, all the way to massive web apps and super intricate data pipelines. Seriously, if there was a job that needed doing, Python was usually the very first language that popped...")
- 07:49, 17 November 2025 PC talk contribs created page Bare-Metal Rust: Safety Below the OS (Created page with "I spent six hours fighting the borrow checker over an interrupt handler. Six hours. The compiler kept rejecting my code, insisting I couldnât share mutable state between the main loop and the ISR. I was convinced Rust was being pedantic about something that worked fine in C for decades. When I finally compiled a workaround using unsafe, I stress-tested it. Race condition at 847 interrupts per second. The borrow checker had been right. The bug wouldâve shipped. In C,...")
- 07:48, 17 November 2025 PC talk contribs created page Rust HashMap Interactions Made Simple: The Entry API (Created page with "Rustâs entry API is something that isnât often talked about, but it makes maps easier to use without risking panics, and it helps eliminate redundant lookups. If youâve ever written code like if map.contains_key(k) { ⌠} else { ⌠}, then youâve been doing two lookups when one would do, and adding another layer of nesting. The entry API solves those problems and provides an idiomatic and safe alternative to working with maps. In this article Iâm going to...")
- 07:47, 17 November 2025 PC talk contribs created page Rustâs Tokio vs. Goâs M:N Scheduler: A Deep Dive into Async I/O Thread Contention (Created page with "We added more workers to the Tokio pool expecting faster throughput. Instead, tail latencies doubled and CPU utilization dropped. The problem wasnât the scheduler or our code logic â it was the runtime and OS kernel competing for the same file descriptors during parallel async I/O. Understanding how Tokioâs work-stealing differs from Goâs cooperative M:N model explains why identical workloads can show wildly different contention patterns. How Tokioâs Work-Stea...")
- 07:44, 17 November 2025 PC talk contribs created page Rust vs DPDK: I Rewrote Our Network Stack and the Borrow Checker Won (Created page with "I spent six hours fighting the borrow checker on a Tuesday night. My packet parser kept failing with lifetime errors I couldnât understand. The compiler rejected every fix. I was convinced Rust was being pedantic about something that didnât matter. Then I stress-tested my original C implementation â segfault at 12 million packets per second. The borrow checker hadnât been pedantic. It had been right. Why I Even Attempted This Migration Our team was running a DPDK...")
- 07:42, 17 November 2025 PC talk contribs created page Introducing flutter tantivy: Bringing Rust-Powered Full-Text Search to Flutter (Created page with "Search is everywhere. From finding the right email in your inbox to discovering products in an e-commerce app, full-text search has become an essential feature in modern applications. But implementing high-performance search on mobile devices? Thatâs a different challenge altogether. Today, Iâm excited to share flutter_tantivy â a Flutter plugin that brings the blazing-fast Tantivy search engine, written in Rust, directly to your Flutter applications. The Proble...")
- 07:40, 17 November 2025 PC talk contribs created page Rust Macros Tutorial That Stops the Boilerplate (Created page with "The struct definition spreads across 80 lines. Field by field, you type the same pattern: name, type, a derive attribute, a builder method, a validation check. Copy, paste, adjust. The code works but maintaining it feels like punishment. Change one field and suddenly youâre updating six different places, hoping you caught them all. We write boilerplate because we have to, but nobody actually enjoys maintaining code thatâs 70% identical patterns with tiny variations....")
- 07:38, 17 November 2025 PC talk contribs created page Rust in Space: Why NASA Trusts It for Mission-Critical Flight Software (Created page with "The telemetry buffer crashed after 47 hours of continuous testing. Three threads racing to write sensor data â textbook race condition. In C, this wouldâve reached Mars before we found it. Rust caught it at compile time. I wasnât expecting that. Iâd rewritten the module specifically to test Rustâs safety claims, half-expecting the hype to fall apart under real spacecraft constraints. Instead, the compiler pointed at line 47 and said âyouâre trying to mutabl...")
- 07:34, 17 November 2025 PC talk contribs created page Why This Python Dev Switched to Rust (and What I Gained!) (Created page with "You know that feeling, right? That moment when you finally find the one? The programming language that just gets you, speaking your coding love language, you know? For the longest, longest time, that was absolutely Python for me. It was my trusty sidekick, my go-to for pretty much everything-from those super quick little scripts you bash out before breakfast, all the way to huge, sprawling web apps. I even used it for my sneaky automation tools and, like, anything wit...")
- 07:33, 17 November 2025 PC talk contribs created page Why One in Six Go Developers Are Switching to Rust in 2025 â And What It Means for Your Career (Created page with "Why teams are trading garbage collectors for guard rails â and how to stay valuable either way.â¨A lot of Go teams love their speed â until unsafety, tail-latency, or infra cost knocks.â¨In 2025, more of them are reaching for Rust not as a fad, but as a seatbelt.â¨If your stack speaks Go today, your career plan should speak Rust tomorrow. The Pattern Youâre Seeing (and Why It Feels Sudden) A payments platform replaces a hot Go path with a Rust crate, and the p95...")
- 08:23, 16 November 2025 PC talk contribs created page How Rust Guarantees Memory Safety (and Why You Rarely See Segfaults) (Created page with "If youâre eyeing Rust because itâs âfast like C++ but safe like Java,â youâre not alone. The two big promises that draw people in are memory safety and no segmentation faults in safe code. Whatâs surprising is how Rust achieves this: not with a garbage collector or a runtime nanny, but with a few powerful compile-time rules. Hereâs the short version: Summary: Rust prevents entire classes of memory bugs at compile time with an ownership system and...")
- 08:20, 16 November 2025 PC talk contribs created page Rustâs Firmware Revolution: How Memory Safety Stopped Our $2M Hardware Recall (Created page with "The email arrived, Production line down. Two hundred server boards refusing POST. I pulled up the logs from our test lab, still half-asleep, expecting the usual suspects â bad solder joints, maybe a silicon stepping issue with the new CPU batch. Instead, I found something worse. Our BIOS update from the previous week had a bug in the memory initialization code. Classic buffer overflow during RAM timing calibration. The overflow corrupted ACPI tables. Those tables told...")
- 08:16, 16 November 2025 PC talk contribs created page An idea for a GPU programming language feature: polysemous function type checking â Rust (Created page with "In languages like Rust with powerful type systems, developers are able to encode a lot about their programâs behavior in the type system. This makes it possible to validate a large number of your programâs assumptions at compile time, which is very favorable for a number of reasons. My experience with GPU programming has been that this is harder to achieve. A primary reason for this is that GPU programming is SIMT (Single Instruction, Multiple Threads), meaning that...")
- 08:13, 16 November 2025 PC talk contribs created page What Does Rust Use Instead of a Garbage Collector? (Created page with "Summary: Rust frees memory deterministically using ownership + RAII (drop on scope exit). The compiler proves who owns what, inserts âdrop glueâ to run destructors at the right time, and forbids use-after-free. No background GC thread, no tracing pauses. When you opt in, you can also use reference counting (Rc/Arc)âwhich is GC-like in spirit but explicit, local, and non-tracing. The mental model: Ownership, not collection Rust doesnât periodically â...")
- 08:12, 16 November 2025 PC talk contribs created page Rust Wonât Kill C++ â But Hereâs the Real Threat Nobodyâs Talking About (Created page with "Every time a new programming language pops up, someone dramatically declares: âTHIS is the end of C++!â Meanwhile, C++ is sitting in a rocking chair, sipping a bit of malloc() tea, whispering, âIâve survived Java, Python, Go, and even JavaScript. Nice try, kid.â Rust, though â Rust felt different. It showed up wearing a leather jacket, talking about âsafetyâ and âownership,â and everyone started swooning. Devs whispered, âFinally! A systems lang...")
- 08:09, 16 November 2025 PC talk contribs created page Rustâs Borrow Error : Why You Canât Store a Value and a Reference to It in the Same Struct (Created page with "You write what feels like perfectly reasonable Rust: struct Thing { count: u32, } struct Combined<'a>(Thing, &'a u32); fn make_combined<'a>() -> Combined<'a> { let thing = Thing { count: 42 }; Combined(thing, &thing.count) } âŚand the compiler very kindly replies: error: cannot return value referencing local variable 'thing'â¨error: 'thing' does not live long enough You stare at it. But the struct owns the Thing. The reference is to a field inside that...")
- 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...")