Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
synergy20
on Aug 29, 2022
|
parent
|
context
|
favorite
| on:
C++ coroutines: Understanding the compiler transfo...
Good to know. std::async for simple and less intensive cases, for anything serious std::thread might be the way to go, before executors is real that is.
candiodari
on Aug 30, 2022
[–]
Except you can have thousands of std::async threads, and at best a few dozen std::threads.
jcelerier
on Aug 30, 2022
|
parent
|
next
[–]
That's only if the implementation uses a thread pool, I think only MSVC does it, not libstdc++ or libc++ last time I checked
synergy20
on Aug 30, 2022
|
parent
|
prev
[–]
It does not scale per the youtube talk though, the promises/futures are competing with shared resource, which is a surprise.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: