Readit News logoReadit News
sudodevnull commented on Show HN: HTTP-nu – Nushell-scriptable HTTP server with SSE / Datastar   github.com/cablehead/http... · Posted by u/ndyg
sudodevnull · 24 days ago
Really powerful and interesting approach!
sudodevnull commented on JavaScript-heavy approaches are not compatible with long-term performance goals   sgom.es/posts/2026-02-13-... · Posted by u/luu
sudodevnull · 25 days ago
This is well known. You can have full reactivity without being JS heavy. https://www.youtube.com/watch?v=8W6Lr1hRgXo is a perfect example
sudodevnull commented on High-Level Is the Goal   bvisness.me/high-level/... · Posted by u/tobr
nchmy · 2 months ago
I know this article is largely about too many js frameworks and also a call to making better tooling for low-level programming.

But it is also largely about the fact that most people making those js frameworks are not low-level programmers.

Folks really ought to check out Datastar. It's a newish js framework that is extremely innovative despite leaning as much as possible on browser apis. It's htmx + alpine + much more, yet smaller, faster and simpler.

Because it is built by a low-level programmer who is making the framework as a yak shaving side-quest. There's no dependencies - he built his own (world's fastest) signals and DOM morphing algorithms. V1 should be released soonish and they expect to never need a v2 - it'll just work forever (and probably become slimmer as browser capabilities grow).

And when he needs a break from that, he develops innovative approaches to CSS, serialization protocols, and databases.

https://data-star.dev

The discord is a fantastic place as well, of like-minded people.

sudodevnull · 2 months ago
he is out of line, but he is right
sudodevnull commented on Lite^3, a JSON-compatible zero-copy serialization format   github.com/fastserial/lit... · Posted by u/cryptonector
bawolff · 3 months ago
This is cool, but the headline makes it sound like the wire format is json compatible which is not the case. I'm not really sure why there is a focus on json here at all - its the least interesting part of this and the same could be said for almost every serialization format.
sudodevnull · 3 months ago
It's a direct support in binary for the primitives available in JSON. I feel like I'm taking crazy pills
sudodevnull commented on Please just try HTMX   pleasejusttryhtmx.com/... · Posted by u/iNic
qingcharles · 3 months ago
My current plan is to switch to Datastar too, although the devs seem a little odd. The guys writing HTMX seem like a more professional bunch.
sudodevnull · 3 months ago
sudodevnull commented on I made a better DOM morphing algorithm   joel.drapper.me/p/morphle... · Posted by u/joeldrapper
spankalee · 4 months ago
"Sit back down"? What kind of child are you?
sudodevnull · 4 months ago
So much misunderstanding of the details without actually trying it. I said clearly if you have metrics to back up claims great! Otherwise it's pure FUD which goes against actual metrics in the wild. Back up your assertions with actual code, that'd be great since you are so confident its 99% wrong.
sudodevnull commented on I made a better DOM morphing algorithm   joel.drapper.me/p/morphle... · Posted by u/joeldrapper
JSR_FDED · 4 months ago
How about both of you show metrics so this becomes a fact based discussion?
sudodevnull · 4 months ago
Look at any Datastar demo, updates in microseconds above half RTT. Look at Andrew's demo above. We are actually working with Joel on possibly moving our already fastest approach to morphing to a version of his morphlex work. Actually try it and measure for yourself

Dead Comment

sudodevnull commented on </> Htmx – The Fetch()ening   htmx.org/essays/the-fetch... · Posted by u/leephillips
yawaramin · 4 months ago
Htmx supporters have explained why htmx over Datastar many times. This is not even the first thread about this topic. Even in this thread you can easily find people (including myself) explaining why htmx and what it does differently. We don't need to repetitively explain the same exact justifications every time someone asks. Do a little reading, it's all there.

If you are making technical decisions about web programming based on HN threads though, best of luck to you.

sudodevnull · 4 months ago
I make technical decisions based off of metrics. Last time we talked as soon as I showed you flamegraphs you yeeted. If you think D* version of morph is just idiomorph... please, make charts that actually show that to be the case.
sudodevnull commented on </> Htmx – The Fetch()ening   htmx.org/essays/the-fetch... · Posted by u/leephillips
yawaramin · 4 months ago
Yes, and the htmx philosophy is that it gives you some default functionality out of the box, it doesn't just hand you a bunch of building blocks and ask you to put everything together yourself. Both are valid approaches. I don't know why one side always has to come in and try to put down the other. Without htmx, there is no Datastar.
sudodevnull · 4 months ago
You are right! without HTMX 1 and the choices for future dev there would be no Datastar! If you think having a full framework while still allowing super easy way to make whatever API as you see fit is putting someone down, idk, ngmi.

u/sudodevnull

KarmaCake day124January 3, 2019View Original