On Monday, July 7, 2025 4:40:00 AM CEST Andrew Sullivan wrote:
> I don't understand why the draft is not, "Stop using the DNS for stuff."
> 
> The reason people prefer UDP to TCP is, in part, burden on the client side. 
> State is expensive to keep, and the more extreme your power requirements
> &c. the more likely you are not to want to keep the state necessary for
> TCP.

That is actually a really good point. Now, I don't know how much of what I'll 
write below will apply to DNS, UDP, or large systems. But it reminded me of a 
wee little chip that I implemented a serial console for. It resembles what I 
would normally work with on a Linux system, but only in appearance.

--- snip ---
[~] r...@workstation.vm.ideapad.lan
[#] /bin/bash nmtui
[0] Command completed on 2025-07-07 03:43 CEST.
--- snip ---

Now, this is just a custom bash console, and it has colors that aren't shown 
here. It has logging, it has exit codes, it has that $ and # distinction, it 
has the hostname... And my serial console has none of that. Literally just the 
PS1 in a single color, and you can backspace if your serial interface supports 
it. And I was kind enough to use CRLF, trying my best to make everyone equally 
dissatisfied.

[~] v...@thonkpad.lan
[$] /bin/bash cat /dev/ttyACM0
[i] Current time: 00:00:00.
[~] r...@watch.lan
[#] setDate 25-07-07
Date set to 25-07-07.
[~] r...@watch.lan
[#] setTime 07:39:22
Time set to 07:39:22.

And that's how I want to tie this into that TCP stack. To implement that into 
a tiny little microcontroller, is a lot of work, and half of it is probably 
stuff you don't need or even want. Because space really comes at a premium 
there, like even a bitmap font takes up a significant chunk of it. So libraries 
that implement the whole stack.. probably undesirable! And chances are that 
you're going to have to stick all those parts of the packet together anyway, 
to send it off into the library or the network.

So doing that in UDP, where it just goes into the void and if something comes 
back, okay great I guess... Yeah, the simplicity of that, I think I would 
prefer that on the tiny scale. Heck, maybe that's half the reason why those 
folks in the olden days did it too (please let me know). An Arduino or a 
Commodore.. for computational capacity, same same only different... But my 
goodness do those keyboards look divine.

-- 
Met vriendelijke groet,
Michael De Roover

Mail: i...@nixmagic.com
Web: michael.de.roover.eu.org

In my defense, the dumb things I say may just be my brain being cooked.
-- v...@thonkpad.lan


_______________________________________________
DNSOP mailing list -- dnsop@ietf.org
To unsubscribe send an email to dnsop-le...@ietf.org

Reply via email to