frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Beautiful Type Erasure with C++26 Reflection

https://ryanjk5.github.io/posts/rjk-duck/
26•RyanJK5•1h ago

Comments

RyanJK5•1h ago
Try it on Compiler Explorer: https://godbolt.org/z/91dj5jeGW

Check out the source code: https://github.com/RyanJK5/rjk-duck

rob74•1h ago
The things people describe as "beautiful" never cease to amaze me...

...but, as they say, beauty is in the eye of the beholder!

RyanJK5•55m ago
Beauty in C++ may be most similar to lipstick on a pig, but we try our best.
flossly•36m ago
I admire you guy keep trying.

I'm also glad I do not write C++ on the daily anymore: luckily my software does not need that kind of performance characteristics.

germandiago•34m ago
I still reach for C++ on the backend. Honestly, with all its warts, I like it overall.

You can write pretty fast and reasonable code nowadays.

feverzsj•53m ago
Reflections, especially static ones, are horrible for debugging.
RyanJK5•43m ago
This library tries its best to mitigate that, catching common errors and whatnot, but it can definitely still happen. C++ doesn't have full token injection yet, so it avoids some of the more common pitfalls, if incidentally.

As an aside, you may want to check out Jai's approach. I believe everything you generate statically gets turned into a file by the compiler for debugging purposes, which it provides references to in the output.

Show HN: Excogni – open, pseudonymous cognitive measurement in the making

https://xcgni.com/
1•brna-2•52s ago•0 comments

The Conservationist Who Turned 40 Terabytes of Public Data into a Video Game

https://blog.exe.dev/meet-the-conservationist-who-turned-40-terabytes-of-government-data-into-a-v...
1•bryanmikaelian•2m ago•0 comments

The analysts are compromised

https://www.profgmedia.com/p/the-analysts-are-compromised
1•dchi04•2m ago•0 comments

Show HN: RavenGate – LLM gateway that redacts PII across SSE chunk boundaries

https://gate.ravenlabs.studio/
2•charltonraven•2m ago•0 comments

Show HN: Run SAM only when your tracker is uncertain – #1 on SportsMOT

https://www.holma.io/blog/posts/selective-mask-propagation
2•lapuerta•3m ago•0 comments

Show HN: Boardown – A local Markdown-based Kanban board inside VS Code

https://github.com/grinev/boardown
1•greenrus•3m ago•0 comments

Show HN: I can't seem to text properly on an iPhone, so I built my own keyboard

1•tbensky•5m ago•1 comments

5D Memory Crystal

https://www.5dmemorycrystal.com
1•csomar•5m ago•0 comments

Poet as Legislator

https://en.wikipedia.org/wiki/Poet_as_legislator
1•tosh•8m ago•0 comments

peg-express is a parser generator for TypeScript

https://github.com/katsumiok/peg-express
1•gjvc•8m ago•0 comments

Samsung will delete your health data if you don't let them use it to train AI

https://www.neowin.net/news/samsung-will-delete-your-health-data-if-you-dont-let-them-use-it-to-t...
2•rpgbr•8m ago•1 comments

Google's Demis Hassabis says it's time for a global AI watchdog led by the US

https://www.theverge.com/tech/965270/google-deepmind-demis-hassabis-global-ai-watchdog
1•andsoitis•9m ago•0 comments

Demis Hassibis: A Framework for Frontier AI and the Dawning of a New Age

https://x.com/demishassabis/article/2076957440109625718
1•andsoitis•10m ago•0 comments

Germany wants rental e-scooter companies to pay for accidents

https://electrek.co/2026/07/13/germany-wants-rental-e-scooter-companies-to-pay-for-accidents/
1•gnabgib•10m ago•0 comments

Sony Nerfs Videogame Ownership

https://www.eff.org/deeplinks/2026/07/sony-nerfs-videogame-ownership
2•Brajeshwar•10m ago•1 comments

I couldn't pay for DeepSeek V4 with my card. So I built a proxy

https://api-hub.cc/blog/
2•zftnb666•11m ago•0 comments

Show HN: CrowdMind, Free app for building AI personas and testing stimuli

https://github.com/Brokenwatch24/crowdmind
1•jjaramillor•11m ago•0 comments

Demis Hassabis has a plan to harness AI safely

https://www.economist.com/business/2026/07/14/demis-hassabis-has-a-plan-to-harness-ai-safely
1•andsoitis•11m ago•0 comments

The Rise and Fall of Commercial Smalltalk (2020)

https://wirfs-brock.com/allen/posts/914
2•downbad_•11m ago•1 comments

Making network topology readable with C4 and graph theory

https://scanopy.net/blog/making-network-topology-readable
2•mayanayza•11m ago•1 comments

A thinking thing that is no one

https://baronca.substack.com/p/a-thinking-thing-that-is-no-one
1•Anon84•14m ago•0 comments

Telegram's t.me domain name is back

https://de.godaddy.com/whois/results.aspx?domain=t.me
2•_roj•14m ago•1 comments

Show HN: PixlPDF – e-signatures where the server only stores encrypted blobs

https://pixlpdf.com
1•pixlpdf•15m ago•0 comments

Two sizes fit most: Postgres and ClickHouse

https://clickhouse.com/blog/ai-best-of-breed-data-stack
1•saisrirampur•15m ago•0 comments

What makes a language flourish? (2021)

https://www.5jt.com/what-makes-a-language-flourish
1•tosh•15m ago•0 comments

Show HN: OpenArgentum – Self-hosted finance manager you talk to

https://openargentum.org/
1•amitpm•17m ago•1 comments

Show HN: Translate Slides and Images

https://slidelang.com/
1•seinecle•17m ago•1 comments

CometBFT runs the SecretConnection crypto handshake before authenticating peers

https://nullrabbit.ai/research/cometbft-secretconnection-preauth-handshake-cpu-burn
1•simonmorley•17m ago•0 comments

I Use Agents to Extract Hidden Feedback from GitHub

https://tomasvotruba.com/blog/how-I-use-agents-to-extract-hidden-feedback-from-github-and-improve...
3•moebrowne•18m ago•0 comments

Goldman Sachs Posts Record $3.4B Investment-Banking Quarter

https://www.disruptionbanking.com/2026/07/14/goldman-sachs-posts-record-3-4bn-investment-banking-...
4•emsidisii•19m ago•1 comments