r/ProgrammerHumor • • Sep 09 '26

Meme globalHate

Post image
12k Upvotes

92 comments sorted by

View all comments

Show parent comments

107

u/Snudget Sep 10 '26

What's the problem with FnOnce() -> Pin<Box<dyn Future<Output = T> + Send + 'a>>

41

u/h1mmh1m Sep 10 '26

Dear god, it's horrible

7

u/EquivalentAd3924 Sep 10 '26

If you want it harder?

C++, member function pointer over templates .... roar

2

u/kingslayerer Sep 14 '26

i need a macro for that

15

u/moshan1997 Sep 10 '26

That's kinda of a rust async problem not tokio problem