LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 5 个月前

Multithreading

lemmy.world

message-square
38
fedilink
687

Multithreading

lemmy.world

ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 5 个月前
message-square
38
fedilink
  • Warl0k3@lemmy.world
    link
    fedilink
    arrow-up
    107
    ·
    5 个月前

    hang on, that first image is everything on a single thread…

    • ZILtoid1991@lemmy.worldOP
      link
      fedilink
      arrow-up
      49
      ·
      5 个月前

      Nah, those are double deckers.

      • Warl0k3@lemmy.world
        link
        fedilink
        arrow-up
        27
        ·
        edit-2
        5 个月前

        Making the word bigger doesn’t mean there’s more threads per, it just reduces the number of calls to complete some kinds of ops (and something about RAMing busses into each other and… cache locations? idk I’m sleepy)

        • ZILtoid1991@lemmy.worldOP
          link
          fedilink
          arrow-up
          8
          ·
          5 个月前

          The double deckers are an example of a ready-made solution in the original language’s standard library, the lower one is getting multithreading working through the C ABI bindings, using some 3rd party solution, all while multithreading a lot of other tasks in the application.

          • Warl0k3@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            5 个月前

            Yeah, I can live with that. Well done!

          • ozymandias@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            4
            ·
            5 个月前

            nah, then each bus’s beginning and end would be restarting the whole program… the first picture should be a five lane freeway at rush hour

      • JeeBaiChow@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        5 个月前

        You sure they’re not dwords on a single bus?

      • Ajen@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        ·
        5 个月前

        Both decks of the bus follow the same [code] path. That’s a lot more like increasing the buffer size.

      • sunbeam60@feddit.uk
        link
        fedilink
        arrow-up
        2
        ·
        5 个月前

        Hyperbus!

    • Harvey656@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      5 个月前

      We’ve been swindled, perhaps even bamboozled!

    • SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 个月前

      Each bus is a timeslice

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 2.14K users / day
  • 3.61K users / week
  • 8K users / month
  • 17.7K users / 6 months
  • 1 local subscriber
  • 31.2K subscribers
  • 1.19K Posts
  • 22.1K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org