‹ BackHN Continuity

Thread

Goose Programming Language

54 points · 69 comments · bobbydigitales

  1. finn888 · · focus · HN ↗
    Faster than C++ is always a head-turner. Curious what "magic" enables that with memory safety.
    1. wmf · · focus · HN ↗
      Usually strict aliasing.
      1. Ohentis · · focus · HN ↗
        If it's just strict aliasing then you can't be as fast as C++ in all cases. So you have to either provide an escape hatch like Rust (making the memory safety claim only mostly true), or accept worse performance in some cases (making the performance claim only mostly true).
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.