Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. It's 2006. I'm working with threads in C and it's awful

It's 2006. I'm working with threads in C and it's awful

Scheduled Pinned Locked Moved Uncategorized
29 Posts 23 Posters 80 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • lisyarus@mastodon.gamedev.placeL lisyarus@mastodon.gamedev.place

    @eniko 2011 - present: I'm working with threads in C++ and it's great (mostly)

    raptor85@mastodon.gamedev.placeR This user is from outside of this forum
    raptor85@mastodon.gamedev.placeR This user is from outside of this forum
    raptor85@mastodon.gamedev.place
    wrote last edited by
    #21

    @lisyarus @eniko yeah, C++11's std::thread interface is great, makes it extremely simple to set up stuff like thread pooling and generic worker threads.

    1 Reply Last reply
    0
    • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

      It's 2006. I'm working with threads in C and it's awful

      It's 2016. I'm working with threads in C and it's awful

      It's 2026. I'm working with threads in C and it's awful

      countablenewt@mastodon.socialC This user is from outside of this forum
      countablenewt@mastodon.socialC This user is from outside of this forum
      countablenewt@mastodon.social
      wrote last edited by
      #22

      @eniko . working threads I’m 2026 C it’s and awful with It’s ,

      1 Reply Last reply
      0
      • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

        It's 2006. I'm working with threads in C and it's awful

        It's 2016. I'm working with threads in C and it's awful

        It's 2026. I'm working with threads in C and it's awful

        joe@f.duriansoftware.comJ This user is from outside of this forum
        joe@f.duriansoftware.comJ This user is from outside of this forum
        joe@f.duriansoftware.com
        wrote last edited by
        #23

        @eniko you could leave "in C" out and it would be about the same

        scottmichaud@mastodon.gamedev.placeS vfig@mastodon.gamedev.placeV 2 Replies Last reply
        0
        • joe@f.duriansoftware.comJ joe@f.duriansoftware.com

          @eniko you could leave "in C" out and it would be about the same

          scottmichaud@mastodon.gamedev.placeS This user is from outside of this forum
          scottmichaud@mastodon.gamedev.placeS This user is from outside of this forum
          scottmichaud@mastodon.gamedev.place
          wrote last edited by
          #24

          @joe @eniko Ignoring run-to-run variance.

          joe@f.duriansoftware.comJ 1 Reply Last reply
          0
          • scottmichaud@mastodon.gamedev.placeS scottmichaud@mastodon.gamedev.place

            @joe @eniko Ignoring run-to-run variance.

            joe@f.duriansoftware.comJ This user is from outside of this forum
            joe@f.duriansoftware.comJ This user is from outside of this forum
            joe@f.duriansoftware.com
            wrote last edited by
            #25

            @scottmichaud @eniko vibe coders 🤝concurrency programmers

            1 Reply Last reply
            0
            • joe@f.duriansoftware.comJ joe@f.duriansoftware.com

              @eniko you could leave "in C" out and it would be about the same

              vfig@mastodon.gamedev.placeV This user is from outside of this forum
              vfig@mastodon.gamedev.placeV This user is from outside of this forum
              vfig@mastodon.gamedev.place
              wrote last edited by
              #26

              @joe @eniko but that would make Terry Riley sad

              1 Reply Last reply
              0
              • halla@kde.socialH halla@kde.social

                @eniko Well, yes... But rest assured, threads in C++ are awful. Threads in Java are awful. Threads in Python are double-plus awful.

                And they're still needed, so have an ice cream (or other treat) every time you added tread-using code to your project.

                casar@mastodon.socialC This user is from outside of this forum
                casar@mastodon.socialC This user is from outside of this forum
                casar@mastodon.social
                wrote last edited by
                #27

                @halla I've been working with threads in Java and in Python and they were ... so, so, those in Python most certainly double-plus than ones in Java.

                But I always imagined (but never tried) working with threads in C must be wonderful. Now I am confused.

                @eniko

                1 Reply Last reply
                0
                • eniko@mastodon.gamedev.placeE eniko@mastodon.gamedev.place

                  It's 2006. I'm working with threads in C and it's awful

                  It's 2016. I'm working with threads in C and it's awful

                  It's 2026. I'm working with threads in C and it's awful

                  superblox@mastodon.socialS This user is from outside of this forum
                  superblox@mastodon.socialS This user is from outside of this forum
                  superblox@mastodon.social
                  wrote last edited by
                  #28

                  @eniko Have you heard the good news about our lord and savior Rust yet?

                  1 Reply Last reply
                  0
                  • silvermoon82@wandering.shopS silvermoon82@wandering.shop

                    @eniko
                    pthreads! The "g" is for "good"

                    eniko@mastodon.gamedev.placeE This user is from outside of this forum
                    eniko@mastodon.gamedev.placeE This user is from outside of this forum
                    eniko@mastodon.gamedev.place
                    wrote last edited by
                    #29

                    @silvermoon82 and the w is for works well in windows

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups