GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Coyote (coyote@social.singing.dog)'s status on Monday, 08-Jan-2024 13:02:44 JST Coyote Coyote

    Has anyone found a compelling use for C++ coroutines? I check every couple of months and every time it always seems like coroutines require huge supporting libraries or are trivially replaceable with a lambda just for a slightly different syntax. It feels like they're going to be the new exceptions.

    In conversation Monday, 08-Jan-2024 13:02:44 JST from social.singing.dog permalink
    • Embed this notice
      Sexy Moon (moon@shitposter.club)'s status on Monday, 08-Jan-2024 13:02:41 JST Sexy Moon Sexy Moon
      in reply to
      • Rusty Crab
      @RustyCrab @Coyote use them on things like 8 bit chips where you don't get much processing power.
      In conversation Monday, 08-Jan-2024 13:02:41 JST permalink
    • Embed this notice
      Rusty Crab (rustycrab@clubcyberia.co)'s status on Monday, 08-Jan-2024 13:02:42 JST Rusty Crab Rusty Crab
      in reply to
      @Coyote coroutines are niche but insanely useful for their niche. Specifically if you are making finite state machines they take pretty horrible code and make it very VERY simple to read.
      In conversation Monday, 08-Jan-2024 13:02:42 JST permalink
    • Embed this notice
      Sexy Moon (moon@shitposter.club)'s status on Monday, 08-Jan-2024 13:04:03 JST Sexy Moon Sexy Moon
      in reply to
      • Sexy Moon
      • Rusty Crab
      @RustyCrab @Coyote oh I Was thinking of protothreads
      In conversation Monday, 08-Jan-2024 13:04:03 JST permalink
    • Embed this notice
      Sexy Moon (moon@shitposter.club)'s status on Monday, 08-Jan-2024 13:06:25 JST Sexy Moon Sexy Moon
      in reply to
      • Rusty Crab
      @RustyCrab @Coyote are they like generators
      In conversation Monday, 08-Jan-2024 13:06:25 JST permalink
    • Embed this notice
      Rusty Crab (rustycrab@clubcyberia.co)'s status on Monday, 08-Jan-2024 13:06:26 JST Rusty Crab Rusty Crab
      in reply to
      • Sexy Moon
      @Moon @Coyote nah this is cooperative multithreading which is something terribly underutilized in programming as a whole. It allows you to write regular looking functions that execute over time without any of the dangers of memory corruption, race conditions etc
      In conversation Monday, 08-Jan-2024 13:06:26 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.