‹ BackHN Continuity

Thread

Type Punning in C and C++

36 points · 23 comments · ingve

  1. eqvinox · · focus · HN ↗
    The example included below "Why C and C++ Differ" is UB in both C and C++ (and says nothing about "why" C & C++ differ). The article isn't overall wrong but that bit is just...

    (Feels a bit like LLM junk, but honestly not sure.)

    1. rfgplk · · focus · HN ↗
      > (Feels a bit like LLM junk, but honestly not sure.)

      Why leave such disparaging comments?

      1. quietbritishjim · · focus · HN ↗
        Even if it's not from an LLM, it's still wrong! You've focused on the last important of that comment, really.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.