4 ms·
Dumping the whole buffer down the wire on every change? You can really tell links are fast these days...and something about the quality of code produced by naïv
by throwanem 2y ago
Dumping the whole buffer down the wire on every change? You can really tell links are fast these days...and something about the quality of code produced by naïvely prompted LLMs, maybe.
- brrrrrm 2y agoBest chatgpt could do was deltas by lines https://github.com/bwasti/bram.town/blob/main/server.ts#L142 https://github.com/bwasti/bram.town/blob/main/server.ts#L142 Perfect is the enemy of dinner
- throwanem 2y agoNo judgment. Links are fast these days, and redisplay optimization can be more or less arbitrarily complex. And dinner is important.
- keyle 2y ago> Perfect is the enemy of dinner I've never heard this one. Is that a reference to something?
- TeMPOraL 2y agoA reminder that a job isn't there to Do the Right Thing, it's there so you don't starve.
- lynx23 2y agoWell, the hand-written double-buffering code of Brick (Haskell TUI framework) does also only lines...
- Rygian 2y agoSighs in 3270.
- throwanem 2y agoOr Emacs in the 70s. "Everything old is new again."