quuxplusone
Joined 2 years ago
Joined 2 years ago
https://stackoverflow.com/questions/66459162/where-do-standa...
Background: https://quuxplusone.github.io/blog/2022/08/26/vector-pessimi...
No, STL containers such as std::vector definitely do not assume (nor require) non-throwing constructors. They just do the right thing. Yes, cleanup is messier than it would otherwise be.
STL containers do require that your destructors not throw (but do not require that they be noexcept).
https://acoup.blog/2026/02/24/collections-warfare-in-dune-pa...
saimiam's comment mentioned 2048, so I'll plug my variant:
For all I know, perhaps this even was guarded by such a link, but because I got to it through HN, I would have missed the warning.
You do see how that's all garbage, right? So why not just delete it? Keep the good part, delete the bad part.
The game widget itself takes up 3 pages on mobile, because of all the Claude web design.
... Wait, as I scroll down again in composing this complaint, I realize I'm wrong about there being any human text at all. It's all garbage. This makes me kind of sad for the Gwern we've lost.
Actually I take that back. At the dawn of time (1982), GHS definitely had its own frontend. They switched to EDG sometime before my time. I meant I'd be surprised to learn they'd switched from EDG to something home-grown.
This also meant that in my time there was a hefty "glue" layer between the EDG frontend and the GHS middle-end (the middle-end being the tree transformations and "indep" optimizations before you got into the back-end stuff): you had to take the structures EDG produced and turn them into the structures the GHS middle-end wanted.
I was there right when John Regehr's Csmith was first making big waves. We started using it, and also rolled our own fuzzer with more focus on embedded-software trouble spots, such as `volatile` and `packed` and I forget what else. (Guy Goldstein originated and led this, as I recall.) I don't actually remember the fuzzer finding a lot of crashes, but maybe it did, and I do remember its finding a lot of miscompilations, i.e., bad optimizations.
Frankenstein, by Mary Shelley (1818/1831), https://frankendiff.com; and Tales of the Dead, by Mrs. Utterson (1813), https://archive.org/details/talesofdead00utte
Just started Homer's Iliad (Fagles translation) and Christopher Logue's War Music (2015).
Just finished re-reading The Hitchhiker's Guide to the Galaxy, by Douglas Adams (1980). I think it holds up well. Last time I read it, I was much younger than Arthur Dent; now I'm much older. And now that we have computers with Genuine People Personalities, it's hard to remember what it was like in the Before Times.
Recently finished Gaston Leroux's The Mystery of the Yellow Room (1908). For better or worse (no spoilers here), it kept me guessing.
https://github.com/NetHack/NetHack/blob/NetHack-5.0/src/objn...
I think I agree with the comment in NH5 that some of the new cases "probably shouldn't be handled here", and think maybe NH3.4.3's simpler version should've been fine for NetHack's purposes:
https://github.com/Vanilla-NetHack/NetHack-3.4.3/blob/master...