7 pointsby dfa115 hours ago1 comment
  • dfa115 hours ago
    Valhalla removes the historical performance tax on tiny domain objects. This article argues that value classes finally make domain‑safe primitives practical in real systems — strong invariants, flat layout, no wrapper overhead.

    I’d love feedback from folks who’ve experimented with Valhalla or have opinions on modelling domain types in Java.