Hacker News new | ask | show | jobs
by embedding-shape 11 days ago
What exactly is it doing during these 2 seconds? What did it stop doing for those 2 seconds to become whatever it is now? Did Claude use a different (more fitting) design, architecture and data structures perhaps? Did Claude also write the initial version?
1 comments

Processing input from a websocket, and then doing some calculationsand http requests [which need low latency, hence the Europe server].

Apparently a lot of the node baggage was due to Garbage Collection, which Rust doesn't need. Also, immediately transforming incoming JSON to binary data helped.

Yes, to both: claude wrote the initial architecture, under my guidance. As I mentioned it was a PoC, so the first pass was "quick and dirty". Shit the original web server was React [which i didn't count for the comparison because barebones node can serve static pages as well.

It has been a cool experiment which started as a crazy idea, but now as I said gives me some spare change. I just SSH tunnel every day or two and load the web page to see how things are going.