frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Deriving Type Erasure

https://david.alvarezrosa.com/posts/deriving-type-erasure/
26•dalvrosa•4d ago

Comments

dalvrosa•4d ago
Ever looked at `std::any` and wondered what's going on behind the scenes? Beneath the intimidating interface is a classic technique called type erasure: concrete types hidden behind a small, uniform wrapper.

Starting from familiar tools like virtual functions and templates, we'll build a minimal `std::any`. By the end, you'll have a clear understanding of how type erasure works under the hood.

Rubio78•4d ago
Great breakdown of type erasure! It's fascinating how std::any manages to hide concrete types behind a uniform interface, similar to how virtual functions enable polymorphism but with even more flexibility. The shape class example really helps demystify what's happening under the hood.
dalvrosa•4d ago
Thank you, glad that you liked it :)
alaadeen13•4d ago
thanks
dalvrosa•4d ago
yw!

Ageless Linux – Software for humans of indeterminate age

https://agelesslinux.org/
326•nateb2022•4h ago•214 comments

Airbus is preparing two uncrewed combat aircraft

https://www.airbus.com/en/newsroom/press-releases/2026-03-airbus-is-preparing-two-uncrewed-combat...
63•phasnox•3h ago•27 comments

Show HN: Han – A Korean programming language written in Rust

https://github.com/xodn348/han
111•xodn348•5h ago•68 comments

How Kernel Anti-Cheats Work: A Deep Dive into Modern Game Protection

https://s4dbrd.github.io/posts/how-kernel-anti-cheats-work/
26•davikr•2h ago•4 comments

Deriving Type Erasure

https://david.alvarezrosa.com/posts/deriving-type-erasure/
26•dalvrosa•4d ago•6 comments

Tree Search Distillation for Language Models Using PPO

https://ayushtambde.com/blog/tree-search-distillation-for-language-models-using-ppo/
10•at2005•1h ago•1 comments

Hazardous substances found in all headphones tested by ToxFREE project

https://arnika.org/en/news/the-sound-of-contamination-all-analysed-headphones-on-the-central-euro...
82•microflash•3h ago•43 comments

Bumblebee queens breathe underwater to survive drowning

https://www.smithsonianmag.com/science-nature/bumblebee-queens-breathe-underwater-to-survive-drow...
62•1659447091•5h ago•15 comments

From Braun T3 to Apple's iPod

https://drams.framer.website/journal/from-braun-t3-to-apples-ipod
11•corpano•4d ago•2 comments

Fedora 44 on the Raspberry Pi 5

https://nullr0ute.com/2026/03/fedora-44-on-the-raspberry-pi-5/
68•jandeboevrie•6h ago•21 comments

SBCL Fibers – Lightweight Cooperative Threads

https://atgreen.github.io/repl-yell/posts/sbcl-fibers/
31•anonzzzies•3h ago•2 comments

Federal Surveillance Tech Becomes Mandatory in New Cars by 2027

https://www.gadgetreview.com/federal-surveillance-tech-becomes-mandatory-in-new-cars-by-2027
59•functionmouse•1h ago•31 comments

Show HN: GrobPaint: Somewhere Between MS Paint and Paint.net

https://github.com/groverburger/grobpaint
17•__grob•3h ago•1 comments

Launching the Claude Partner Network

https://www.anthropic.com/news/claude-partner-network
85•gmays•5h ago•32 comments

Learning Creative Coding

https://stigmollerhansen.dk/resume/learning-creative-coding/
44•ammerfest•4h ago•13 comments

Offloading FFmpeg with Cloudflare

https://kentcdodds.com/blog/offloading-ffmpeg-with-cloudflare
41•heftykoo•4d ago•18 comments

Marketing for Founders

https://github.com/EdoStra/Marketing-for-Founders
119•jimsojim•6h ago•34 comments

Library of Short Stories

https://www.libraryofshortstories.com/
43•debo_•6h ago•1 comments

Mathematics Distillation Challenge – Equational Theories

https://terrytao.wordpress.com/2026/03/13/mathematics-distillation-challenge-equational-theories/
5•picafrost•16h ago•0 comments

Changes to OpenTTD Distribution on Steam

https://www.openttd.org/news/2026/03/14/steam-changes
128•canpan•4h ago•76 comments

An ode to bzip

https://purplesyringa.moe/blog/an-ode-to-bzip/
98•signa11•10h ago•56 comments

Show HN: Ichinichi – One note per day, E2E encrypted, local-first

75•katspaugh•7h ago•27 comments

Baochip-1x: What it is, why I'm doing it now and how it came about

https://www.crowdsupply.com/baochip/dabao/updates/what-it-is-why-im-doing-it-now-and-how-it-came-...
274•timhh•3d ago•54 comments

Postgres with Builtin File Systems

https://db9.ai/
38•ngaut•5h ago•10 comments

Montana passes Right to Compute act (2025)

https://www.westernmt.news/2025/04/21/montana-leads-the-nation-with-groundbreaking-right-to-compu...
245•bilsbie•12h ago•207 comments

Allow me to get to know you, mistakes and all

https://sebi.io/posts/2026-03-14-allow-me-to-get-to-know-you-mistakes-and-all/
12•sebi_io•4h ago•0 comments

A Recursive Algorithm to Render Signed Distance Fields

https://pointersgonewild.com/2026-03-06-a-recursive-algorithm-to-render-signed-distance-fields/
53•surprisetalk•3d ago•4 comments

Python: The Optimization Ladder

https://cemrehancavdar.com/2026/03/10/optimization-ladder/
275•Twirrim•4d ago•98 comments

Making your JITted Code known: Let me count the ways

https://wakelift.de/2026/03/09/making-your-jitted-code-known-let-me-count-the-ways/
9•lizmat•4d ago•1 comments

Starlink militarization and its impact on global strategic stability (2023)

https://interpret.csis.org/translations/starlink-militarization-and-its-impact-on-global-strategi...
131•msuniverse2026•17h ago•172 comments