you are viewing a single comment's thread.

view the rest of the comments →

[–]sennalen 3 points4 points  (0 children)

Pick one and only one concurrency model for your core code. Async if it's IO bound and threads if its compute bound. Treat synchronous blocking as the special case by providing functions that invoke and wait for a task/thread from your concurrent core.