Björkus "No time_t to Die" Dorkus @thephd.dev · Dec 2

Not all closures in C and C++ were made equal, unfortunately.

23 likes 6 replies

?

Replies

Waltteri · Dec 2

obligatory "spend lesss on noop"

ACME 10X Quiche-Eater · Dec 2

can't have nuthin without "mUh tRaDeOfFs" sick of C/C++

Amethyst Basilisk · Dec 2

"ztd/idk" gave me a chuckle.

C

@crzwdjk.bsky.social · Dec 2

Wait, why is lambda so good and lambda-rosetta so bad? That seems a bit surprising.

Björkus "No time_t to Die" Dorkus · Dec 2

"Rosetta" stands for taking the code near-directly from Rosetta Code for the Man or Boy test: rosettacode.org/wiki/Man_or_...

🍁 Shades of Maple 🍂 · Dec 2

That's interesting. Can you share more about how these benchmarks were run and how to reproduce them?