Login
You're viewing the ruby.social public feed.

Replies

  • Nov 22, 2026, 8:38 AM

    @wolf480pl @andrewg What was up with HTTP2's design people didn't like anyway?

    I haven't really kept track. And on a similar kind of questioning, why not HTTP3?

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 12:03 PM

    @lispi314
    I personally like H2. H3 seems too complex to be good but haven't really looked into it.

    In any case, there's a lot of new code written to add support for them - new complexity - so a lot of room for new bugs
    @andrewg

    💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 22, 2026, 12:15 PM

    @lispi314
    also who needs concurrency when you can have parser bugs

    EDIT: nvm those were both concurrecy bugs weren't they
    @andrewg

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:18 PM

    @wolf480pl @andrewg Surely one would use a well-tested parser generator and exhaustively test its output anyway, right?

    Other formal verification may also be useful.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:41 PM

    @wolf480pl @andrewg Yeah, in various languages.

    They won't necessarily be optimized in whatever silly intrinsic-using ways doing it manually might, but they will be correct when provided with a correct grammar.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Nov 22, 2026, 7:55 PM

    @wolf480pl @andrewg Erlang also has its bitstring syntax, but that has limited support for context-sensitive decoding, so one would have to parse up to a branching point the syntax can't address directly, then match on that accordingly with more bitstrings.

    💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 22, 2026, 8:01 PM

    @wolf480pl Lengths are the kind of things that can be directly addressed by referring to previously-matched areas.

    I was thinking more of complex formats where the value might determine whether a number of other fields are present at all.

    The kind of thing that protobuf was made for, in other words.

    TLV requires too much trust in arbitrary external inputs to use it directly for bitstring syntax (one can definitely match on it though).

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 22, 2026, 7:13 PM

    @wolf480pl @andrewg I suspect that they claim they did but that it only covered a small part of the implementation. That's usually how it turns out.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:33 PM

    @lispi314 @andrewg
    AFAIK it covers the protocol spec, not the implementation.

    Still, multiple implementations following that spec independently made the same bug.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:38 PM

    @wolf480pl @andrewg ...Well then they all implemented it wrong.

    The specification not being horribly broken is a good start, but the implementations themselves must model themselves.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 7:42 PM

    @lispi314 @andrewg
    The specification may've been not wrong, but it was at least misleading.

    Also, how about deductive verification instead? Model checking anything non-trivial is dead slow and uses all the RAM...
    Although I guess if we could use 10% of the compute that's being used for LLMs, model checking would be quite fast.

    💬 1🔄 0⭐ 0
  • Nov 22, 2026, 8:26 PM

    @wolf480pl @andrewg

    The specification may've been not wrong, but it was at least misleading.

    That is a bad thing to have in a specification indeed.

    Also, how about deductive verification instead?

    That is also adequate.

    Model checking anything non-trivial is dead slow and uses all the RAM...

    Unfortunate that.

    Although I guess if we could use 10% of the compute that's being used for LLMs, model checking would be quite fast.

    And after all that resource expense, the output would actually be reliable. Though the efficiency concern vs other verification methods is a good argument against all the same.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 24, 2026, 12:21 AM

    @Synchro @lispi314 @andrewg
    I'm talking about all the code that nginx developers had to write to get quic working, and all the bugs they have inevitably added in the process.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0