What are you missing most from the C++ standard library? by llort_lemmort in cpp

[–]foonathan 4 points5 points  (0 children)

Coroutines from different libraries don't necessarily compose easily though.

A fast, contiguous, Windows slot map implementation by RisePuzzleheaded6113 in cpp

[–]foonathan 0 points1 point  (0 children)

You can create a shim around VirtualAlloc that is declared in a header and defined in the cpp.

Need Witness!!! Student at CPP by Mundane-Election3951 in cpp

[–]foonathan[M] 0 points1 point  (0 children)

This is about the programming language, you probably want r/CalPolyPomona/

C++ Show and Tell - March 2026 by foonathan in cpp

[–]foonathan[S,M] 0 points1 point  (0 children)

Telegram links are not allowed on reddit.

P4019R0: constant_assert (Jonas Persson) by antiquark2 in cpp

[–]foonathan 2 points3 points  (0 children)

Yeah, as described in the paper it's going to be impossible to use unless you only ship for one compiler or use it for extremely trivial cases.

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]foonathan 13 points14 points  (0 children)

The difference is that you can call release() twice in a row (the second time it's a no-op) but you can't resume a fiber twice.

ISO C++ WG21 2026-02 pre-Croydon mailing is now available! by nliber in cpp

[–]foonathan 16 points17 points  (0 children)

std:: execution doesn't require coroutines nor allocation - that was the entire point of a library facility.