Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. AI Has No Wisdom and Neither Will You(alexn.org)
    30comments
  2. AMD's random number generator can't generate a 0?(flatassembler.net)
    73comments
  3. Type Punning in C and C++(pwkf.org)
    7comments
  4. Can gzip be a language model?(nathan.rs)
    80comments
  5. Will Open Source Survive the Agents That Replaced It?(albertoarena.it)
    8comments
  6. MiMo v2.6(xiaomi.com)
    427comments
  7. Spymarks, Not Watermarks(brand.io)
    126comments
  8. 9 Ads per Minute: FIFA Cup 26 – "the price of the beautiful game"(bristol.ac.uk)
    119comments
  9. Verda (Finland) raises $189M in Series B(verda.com)
    16comments
  10. Transformers Explained Visually(poloclub.github.io)
    73comments
  11. Attention is all you have(alicegg.tech)
    263comments
  12. A font that reads what you wrote(rohanadwankar.github.io)
    17comments
  13. I said no and Apple said yes(dbushell.com)
    254comments
  14. What Sun got wrong(dtrace.org)
    352comments
  15. Video games inspire great UX (2019)(jenson.org)
    discuss
  16. MiMo-v2.6-Pro: Intelligence, Performance and Price Analysis(artificialanalysis.ai)
    35comments
  17. I don't want to read what you didn't write(colinbreck.com)
    316comments
  18. JavaFX 27 Native Image on a Raspberry Pi 5(ennerf.github.io)
    6comments
  19. AI coding has made CI a bottleneck, so we reworked ours to keep up(linear.app)
    308comments
  20. Engineering Memory: On learning to memorize first 100 digits of pi (2024)(gregorygundersen.com)
    15comments
  21. Divide by depth for instant 3D(gabrieloc.com)
    32comments
  22. NASA’s Mars Sample Return mission is dead(science.org)
    337comments
  23. What It's Like to Work in One of America's Data Centers(wsj.com)
    14comments
  24. Looking forward to Git 2.56 – and 3.0(lwn.net)
    79comments
  25. World Wide Words(worldwidewords.org)
    2comments
  26. A build graph that rolls dice(fzakaria.com)
    1comments
  27. The Advisory Group on Mathematics and Artificial Intelligence(terrytao.wordpress.com)
    72comments
  28. Claude Status – Elevated errors for multiple models(claude.com)
    97comments
  29. Python Workers are now generally available(cloudflare.com)
    39comments
  30. HERMES radio enables voice and data communication over vast distances(ieee.org)
    62comments

Type Punning in C and C++

23 pointsby 1h agoblog.pwkf.org
7 comments
35m agoHN ↗

The C vs C++ distinction here is genuinely treacherous

What's so genuine about this?

18m agoHN ↗

Despite the fact they're two different languages, people are often taught as though it's basically just a subset relationship and then they carry this through into the actual software they write.

Because neither of these are memory safe languages, you are required to ensure you've made no mistakes or else anything might happen.

11m agoHN ↗

It continues with

and most blog posts on the topic get it wrong.

This smells like Claudism/LLMish.