News for hackers. Stuff that matters.
Re:Emacs internals: Tagged pointers vs. C++ std:variant and ... by tialaramex on Thursday March 12, 2026 @11:51AM (#47352605)
Given you aren't sure since SG1 this might be useless but... do you have a paper number? Or, more likely, know an author's name ?
Re:Emacs internals: Tagged pointers vs. C++ std:variant and ... by legobmw99 on Thursday March 12, 2026 @12:19PM (#47353164)
Seems like its p3125r0
Re:Emacs internals: Tagged pointers vs. C++ std:variant and ... by tialaramex on Thursday March 12, 2026 @12:57PM (#47353824)
Thanks! https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p31...

(is the current version of that paper, the tracking ticket insisted there's a P3125R5 and that LEWG had seen it in 2025, but it isn't listed in a mailing so it might be a mirage)

You know it's a Hana paper because it wants this to be allowed at compile time (C++ constrexpr) but joking aside this seems like a nice approach for C++ which stays agnostic about future implementation details.

Re:Emacs internals: Tagged pointers vs. C++ std:variant and ... by trws on Thursday March 12, 2026 @12:23PM (#47353243)
It’s Hana Dusikova’s paper IIRC.