Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Hacker NewsEnglish · 18 days ago

C++ Coroutines Advanced: Converting std:future to asio:awaitable

www.ddhigh.com

external-link
message-square
0
fedilink
3
external-link

C++ Coroutines Advanced: Converting std:future to asio:awaitable

www.ddhigh.com

RSS BotMB to Hacker NewsEnglish · 18 days ago
message-square
0
fedilink
C++ Coroutines Advanced: Converting std::future to asio::awaitable
www.ddhigh.com
external-link
In modern C++ development, coroutines have brought revolutionary changes to asynchronous programming. However, when using boost::asio or standalone asio, we often encounter scenarios where we need to convert traditional std::future to asio::awaitable. This article will detail an efficient, thread-safe conversion method.

Comments

alert-triangle
You must log in or register to comment.

Hacker News

hackernews

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 429 users / day
  • 2.12K users / week
  • 4.25K users / month
  • 9.42K users / 6 months
  • 2 local subscribers
  • 2.2K subscribers
  • 27.4K Posts
  • 10.6K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org