Community stream
Community
Kākāpō Party
Tool: Kākāpō Party I presented a closing keynote for the WeAreDevelopers World Congress North America yesterday. As a STAR moment I decided to weave in references to the record breaking kākāpō breeding season we had in 2026. For my closing slide I…
Stream::unfold vs direct channel filtering
I have a struct where, you can call a function to get a sender or receiver channel, and a spawn function, the spawn spawns a proxy so you when you ask for the receiver it will give you an unbounded receiver, only by adding the coorosponding…
Pre-RFC: Compile-time conditional branching on trait implementations
Pre-RFC: Compile-time conditional branching on trait implementations I'd like to propose a way for generic Rust code to conditionally compile branches depending on whether a type implements a trait. The idea is superficially similar to instanceof in…
How ownership is transferring in same vars?
let s = String::from("hello"); let tuple = (s, s.len()); // i am confused how ownership is moving b/w same vars i.e from first s to tuple s if all s are same ,how it's working??? 3 posts - 3 participants Read full topic
Awaiting async code in Drop
I currently have this struct in my code: /// auto flushes on drop struct Flusher<'a, W: AsyncWriteExt + Unpin>(&'a mut W); which I want to use to automatically flush my async file stream instead of manually calling flush. However Drop doesn't…
How to specify that two generic type parameters are the same type but have different lifetimes
I am trying to use phf to create a compile time made hashmap, but this requires that the generic type has a static lifetime. I need to compare against the output of this hashmap, but it isn't working because (in my understanding) they are no longer…
Is it possible to quasiquote a concrete version of a generic type inside a proc macro?
I believe I've already found a workaround by just matching against the finite number of concrete types and passing the syn::type struct into the function manually, but it would be nice not to have to do that. I was wondering if anyone knew of a way…
Allow pycache_prefix in pyvenv.cfg
Currently I use venv and PYTHONPYCACHEPREFIX in most of my projects to keep caches out of source directories. The downside is that I have to track every way Python, tools, or venv-installed commands are invoked. Small mistakes still happen and…
A Work-Stealing Scheduler in OCaml
The Chase-Lev deque from scratch, per-domain workers, random victim selection, and a fork/join layer built on top, using Domain and Atomic.
Python Insider: The Python documentation is now available in German
You can now read the Python documentation online in German!
Pre-RFC: Another attempt to re-design the Try trait - Try::Kind and TryAs
This is an attempt to re-design the Try and Residual traits to be simpler while generally maintaining functionality. I call it "fat try" because it stuffs most everything into Try instead of breaking it up into several traits. I believe this is…
What I learned at DevTalks Cluj-Napoca 2026
Introduction On the 24th of September, I participated in the 9th edition of DevTalks Cluj-Napoca, and since I had a really great time attending this conference, I decided to share what I learned from attending sessions and having conversations with…
Quoting John Gruber
Muse is getting a lot of attention — including mine — because it’s both groundbreaking technically (each user gets their own entire persistent Linux VM running in Meta’s cloud) and because it’s packaged in an easy-to-install easy-to-use way. It’s…
1769 items available