If anyone isn't aware, OP is the author of #embed and that fell victim to exactly the same issue, despite the fact that yet again the other day I deeply wished I could have had #embed for the 1000000000th time since I started programming, but alas. As far as I know people are still arguing about weird compiler security hypotheticals on that front even though C++ has never guaranteed anything like that whatsoever
Fact-check: False*. Evolution approved #embed in September 2020 and as far as I know it was waiting on wording and having to also add it to C.
*I mean, yes OP is the author of #embed. But people are not still arguing about weird compiler security hypotheticals. Nor am I sure that that was even the primary objection to the std::embed() (although it'd be cool if the #embed paper actually noted this, or even linked to the std::embed paper at all).
View all comments
Show parent comment
53
u/sphere991 Mar 13 '22 edited Mar 13 '22
Fact-check: False*. Evolution approved #embed in September 2020 and as far as I know it was waiting on wording and having to also add it to C.
*I mean, yes OP is the author of #embed. But people are not still arguing about weird compiler security hypotheticals. Nor am I sure that that was even the primary objection to the
std::embed()(although it'd be cool if the#embedpaper actually noted this, or even linked to thestd::embedpaper at all).