Published: April 11, 2025
1
5
72

A First Look at Alien Signals https://x.com/i/broadcasts/1jM...

@RyanCarniato @RyanCarniato have you had time to look into what @DelaneyGillilan did on Datastar? I'm 3 weeks late on this, but would like to see your take on his approach, seems very good for a layman like me.

@devagrawal09 @wesleycoder @RyanCarniato This is šŸ’Æ an area I complete disagree with @devagrawal09 on. If you have complicated state it belongs in a web component or on the back end. In a hypermedia first approach this is a moot point. Y'all are optimizing for the wrong thing.

@devagrawal09 @wesleycoder @RyanCarniato Port this to a SPA and take timings on the JSON request to actual render and compare apples to apples and see. https://andersmurphy.com/2025/...

@DelaneyGillilan @wesleycoder @RyanCarniato Easy This one doesn't need to send the entire html, only sends the cells that have changed, and solid only updates those dom nodes no diffing required, way less bandwidth used, and it doesn't crash the network tab in devtools https://github.com/devagrawal0...

@DelaneyGillilan @wesleycoder @RyanCarniato I did vibe code this in the last 30-ish minutes so i'm sure there's a ton more optimizations that can be done here

@DelaneyGillilan @wesleycoder @RyanCarniato i actually love that you picked game of life as an example, this is a classic case of updating only a few dom nodes instead of the entire page, which is where fine grained reactivity shines the most compared to diffing/morphing

@DelaneyGillilan @wesleycoder @RyanCarniato about 6x less data transfer needed

Image in tweet by Ryan Carniato
Image in tweet by Ryan Carniato

@DelaneyGillilan @wesleycoder @RyanCarniato every update takes less than 4 ms, most are under 3 really curious what this looks like with the D* version

Image in tweet by Ryan Carniato

@DelaneyGillilan @wesleycoder @RyanCarniato I showed the blog post you linked to Cursor and asked it to compare with my approach, even the AI is able to figure this out lol

Image in tweet by Ryan Carniato

@devagrawal09 @DelaneyGillilan @wesleycoder @RyanCarniato Wait you're showing the uncompressed numbers here from my demo. So looks your version uses. Checks notes 41x more transfer. šŸ˜‚

Image in tweet by Ryan Carniato

Share this thread

Read on Twitter

View original thread

Navigate thread

1/12