@lispi314 QUIC is not bad. I don't like the monotonically increasing counters† but otherwise I would probably use it.
Wanted to implement it for nim before i burned out.
†i dislike counters like this because they could theoretically run out. once they do, what then? just crash the program? everyone just tells me "don't worry about running out of int64s"
@rheaplex@gentoobro@lispi314 variable length identifiers are what CRDTs use now. it does complicate some stuff. old formats were built in the age of everything-is-a-db-record.
in the case of network protocols a "i ran out of handles—negociate restart" is fine. what happens now is basically undefined behavior (likely it will just wrap because thats what the machine code does, but you are supposed to track those so if it wraps back to 1 it would be interpreted as trying to send outdated packets)
You'd have to go really fast for a long time to run out of int64's. You'll run out of unix timestamps in a similar order or time, so it's not much different from a timestamp.