
@isographlabs framework author. Ex-React Data Team @Facebook. Co-organizer of #RustNYC. I like Rust, Relay, stats, GraphQL, React, JS
Manhattan, NY
Joined April 2012
- Tweets19K
- Following1.4K
- Followers2K
- Likes21.1K
LFG! That's some nice and intuitive DevEx in @isographlabs
The new signals library, Pico, performs extremely well!
Across 21 app workloads, Pico was significantly faster than Alien Signals in 11 and slower in one. Against Preact Signals, it outperformed in all 12.
It especially kills it in two scenarios:
- many readers, one shared field. Given a chatty, real-time subscription that keeps writing { name, lastSeen } for a user. A thousand components display that userβs name. When only lastSeen changes, Picoβs median update time was 16Γ faster than Alienβs and 12Γ faster than Preactβs.
- many inputs, one calculation. Imagine a spreadsheet cell that sums 1,000 other cells. Change one number and one must redo the sum. Pico took about half the time of both Alien and Preact.
(And on other scenarios, it just beats the other libraries, but not as egregiously.)
Nice!
6
478
Robert Balicki (π @IsographLabs) retweeted
Half you saying shit like "did they nerf my model" should try disabling memory.
Memory is the worst shit in all default coding agents. It injects random shit from your past sessions into your context, and some of it actively sabotages current work.
Robert Balicki (π @IsographLabs) retweeted
when they invent teleportation it won't be an existential crisis of "don't they kill me and recreate my body somewhere else" it'll be a culture war of Never-Porters vs people who are like "my parents teleported me when i was 3 years old, i don't care if i die every time i use it"
I've always wondered (but haven't thought deeply about) why you can't just have a universal dyn trait mode in Rust for faster compile times. Now I know! From gemini:
Automatically replacing all generics/monomorphization with dyn Trait (dynamic dispatch via vtables) is impossible in general Rust because type erasure destroys static layout, identity, and higher-kinded type information that Rust's semantics and memory model fundamentally depend on.
Even setting aside performance (which would degrade catastrophically without inlining across iterator chains, SIMD, and small value types), a "universal dyn mode" breaks down on at least six hard language-level constraints:
1. Sized and Value Semantics (Stack Allocation & ABI)
Rust is a value-oriented language without a uniform object representation (unlike Java, Go, or boxed Python objects).
dyn Trait is unsized (!Sized). You cannot pass dyn Trait by value, store it directly on the stack, or put it in an unboxed struct field or array ([dyn Trait; N]).
To erase types universally, the compiler would have to implicitly heap-allocate (Box<T>) every generic value and change function ABIs to pass fat pointers ((data_ptr, vtable_ptr)).
This breaks #[no_std] environments, allocators themselves (circular dependency), stack-pinned futures, and any code relying on deterministic stack layout or zero-allocation guarantees.
2. Object Safety (dyn-Compatibility) Violations
Only a strict subset of Rust traits are dyn-compatible. A trait cannot be turned into a vtable if it has:
Generic methods: fn foo<T>(&self, x: T). A vtable is a fixed-size table of function pointers generated at compile time; it cannot contain an infinite set of entries for every possible T a caller might instantiate later.
Associated types without fixed bindings: trait Iterator { type Item; } cannot become dyn Iterator unless Item is known statically (dyn Iterator<Item u32>), because callers must know the return size and ABI of next(&mut self) -> Option<Self::Item>.
Self by value or in return position: fn clone(&self) -> Self or fn add(self, rhs: Self) -> Self. The caller doesn't know size_of::<Self>(), nor can a vtable enforce that two dyn Add arguments share the same concrete underlying type at runtime without downcasting and panicking.
Associated constants or static (self-less) methods: fn default() -> Self has no receiver fat pointer from which to look up a vtable.
3. Type Identity and Multi-Type Relationships
Monomorphization preserves the static proof that two types are identical or structurally related. Type erasure loses this:
Binary operations: In fn merge<T: Semigroup>(a: T, b: T) -> T, the type system guarantees a and b have the exact same concrete type. If erased to dyn Semigroup, a could be a String and b a Vec<u8>.
Associated type equality: fn zip<I, J>(a: I, b: J) where I: Iterator, J: Iterator<Item I::Item> relies on static type-level projection.
Type-level state / PhantomData / Zero-Sized Types (ZSTs): Rust encodes invariants in zero-sized marker types (e.g., PhantomData<T>, typestate patterns, std::marker::PhantomPinned). Erasing them either loses compile-time safety checks or forces runtime overhead for constructs designed to compile down to zero instructions.
4. Const Generics and Compile-Time Evaluation
Generics in Rust are not just type parameters; they include const N: usize parameters (e.g., [T; N], Matrix<R, C>).
Array lengths and struct field offsets depend on N at compile time. You cannot put const N: usize into a vtable and still lay out stack frames or static memory without turning arrays into heap-allocated slices.
const fn cannot perform dynamic vtable dispatch over arbitrary unknown types at compile time without essentially running an interpreter over erased representations (which is what Miri does, not codegen).
5. Specialization, Coherence, and Any / TypeId
std::any::TypeId::of::<T>() requires a distinct static type identity per monomorphized T.
Traits like Send, Sync, Unpin, and Copy are auto-traits whose implementation for Wrapper<T> depends conditionally on T. While dyn Trait + Send works for single traits, arbitrary combinations of conditional trait bounds (impl<T: Clone> Clone for MyStruct<T>) cannot be uniformly represented without generating exponential vtable combinations or runtime trait-query dictionaries (essentially Swift's Witness Tables).
6. How Other Languages Solve This (and Why Rust Doesn't)
Languages that compile generics once without monomorphization make specific architectural trade-offs that Rust explicitly rejects:
Java / C# (for reference types): Uniform pointer representation (Object = 64-bit pointer) + garbage collection. (Note: C# still monomorphizes value types (structs) for performance and layout.)
Swift (Witness Tables / Reabstraction Thunks): Swift does support unspecialized generic compilation via Value Witness Tables (VWTs) that dynamically query size, alignment, copy, and destroy operations at runtime, allocating large values on the heap dynamically. Rust rejected this design because hidden dynamic allocations, opaque value witness overhead, and non-deterministic stack sizes violate systems-programming requirements.
Go (GCShape Stenciling + Dictionaries): Go 1.18+ hybridizes monomorphization and dictionary passing, which relies on a garbage collector and Go's uniform interface representation, and still cannot express Rust's zero-cost abstractions, borrowing across trait boundaries, or Self-typed methods.
(Note: In Rust, MIR interpretation (Miri) and Cranelift codegen are the standard ways to get fast debug builds without changing language semanticsβCranelift skips LLVM's heavy optimization passes while still preserving Rust's monomorphized layout rules.)
3
2
480
Cute. Grok bot suggested I reach out to @refactorordie to speak at rust NYC π€©
2
3
551
I had Claude write the fastest JS signals library; I went through scrillions of iterations with comprehensive benchmarks; Claude's been plugging away at it, eking away improvements
Me: Is there anything innovative in this?
Claude: No
Me: Well, erm, nevertheless...
2
9
529
But anyway, the bigger lesson here is that there's a lot of low hanging fruit. I don't a hobbyist's amount about incremental computation! And yet I could guide Claude to do something relatively cool over a short period of time, in the background.
1
2
81
my headphones have some issue (maybe water damage?) whereby they drop the volume every second. The big test for whether we have achieved AGI is whether claude can fix that for me while I am away π€
1
165
I just read a poem in iambic pentameter and now I'm pronouncing everything in my head in that beat lmao (ie including Claude slop)
1
2
212
Using a Claude code session with remote control is quite superior to using the vanilla chat interface
2
215
Hey @Spotify is there no more setting to disable the insufferable lyrics overlay?
228
Robert Balicki (π @IsographLabs) retweeted
Itβs such a mind fuck that you have frontier models successfully solving the hardest problems in mathematics and meanwhile AIβs greatest impact on the physical world is providing bad graphic design to small business owners.

























