Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. Fediverse memes
  4. They're back!

They're back!

Scheduled Pinned Locked Moved Fediverse memes
fedimemes
47 Posts 33 Posters 2 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.
  • ? Guest

    And they want to migrate to piefed? Does it have better performance than Lemmy? That would be hilarious if python were faster than rust.

    Anti Commercial-AI license

    S This user is from outside of this forum
    S This user is from outside of this forum
    squaresinger@lemmy.world
    wrote last edited by
    #33

    Tbh, the vast majority of performance issues don't come from the language but from the application itself.

    While python is clearly slower than rust when it comes to pure native performance when doing exactly the same things exactly the same way and only within the language itself, the same isn't necessarily true in the bigger picture.

    • Python uses C modules under the hood. A lot of the functions you call actually utilize C with C performance.
    • Lower level languages allow the programmer to fail harder. While perfect low-level language code usually runs faster than perfect high-level language, the same cannot be necessarily said for bad or average code. For example, it's really hard to make an actual memory leak in Python. It's super easy to do so in languages without built-in memory management. The same applies in many other cases too. Python just gives you a lot of already-done tools that you only have to use, while other languages allow you to build the tools from scratch, which is easy to mess up.
    • Most performance is lost due to using wrong algorithms or data structures. It's quite common when optimizing that you e.g. manage to eliminate a nested loop or something like that (e.g. loops hidden inside functions you call), and suddenly you improve performance by a factor of 1000. The same can't be done by switching languages, where even the most inefficient languages are only maybe 10x slower than the fastest languages.

    So independent of the programming language, investing time in optimizing can improve the performance much more than using a faster language, and it's much easier to make perfectly optimized high-level language code than perfectly optimized low-level language code.

    B irelephant@lemmy.dbzer0.comI 2 Replies Last reply
    18
    • S squaresinger@lemmy.world

      Tbh, the vast majority of performance issues don't come from the language but from the application itself.

      While python is clearly slower than rust when it comes to pure native performance when doing exactly the same things exactly the same way and only within the language itself, the same isn't necessarily true in the bigger picture.

      • Python uses C modules under the hood. A lot of the functions you call actually utilize C with C performance.
      • Lower level languages allow the programmer to fail harder. While perfect low-level language code usually runs faster than perfect high-level language, the same cannot be necessarily said for bad or average code. For example, it's really hard to make an actual memory leak in Python. It's super easy to do so in languages without built-in memory management. The same applies in many other cases too. Python just gives you a lot of already-done tools that you only have to use, while other languages allow you to build the tools from scratch, which is easy to mess up.
      • Most performance is lost due to using wrong algorithms or data structures. It's quite common when optimizing that you e.g. manage to eliminate a nested loop or something like that (e.g. loops hidden inside functions you call), and suddenly you improve performance by a factor of 1000. The same can't be done by switching languages, where even the most inefficient languages are only maybe 10x slower than the fastest languages.

      So independent of the programming language, investing time in optimizing can improve the performance much more than using a faster language, and it's much easier to make perfectly optimized high-level language code than perfectly optimized low-level language code.

      B This user is from outside of this forum
      B This user is from outside of this forum
      boonhet@lemm.ee
      wrote last edited by
      #34

      Facts right here. I love Rust and my day job is Python. Neither is too slow for most of my use cases. Though one cool thing about Rust is the super low overhead. So well-written Rust, much like well-written C, is great for low-power devices. Still, the database is going to be memory, IOPS and maybe CPU hungry as it grows. You can optimize data structures, but you still need to read said data.

      1 Reply Last reply
      11
      • ? Guest

        And they want to migrate to piefed? Does it have better performance than Lemmy? That would be hilarious if python were faster than rust.

        Anti Commercial-AI license

        povoq@slrpnk.netP This user is from outside of this forum
        povoq@slrpnk.netP This user is from outside of this forum
        povoq@slrpnk.net
        wrote last edited by povoq@slrpnk.net
        #35

        It is the medium term plan, yes (if feasible).

        The user facing side of Piefed is more optimized for speed and low resource use, which fits well with our Solarpunk ethos, and on the backend side I expect it to be easier to maintain and the performance impact should be neglible as most of it is the Postgres database with Lemmy and likely Piefed as well.

        1 Reply Last reply
        6
        • db0@lemmy.dbzer0.comD db0@lemmy.dbzer0.com

          lemm.ee

          A cartoon of raggedy depressed person hiding inside a blanket with their arm outside giving a thumbs up

          [GenAI]

          grrgyle@slrpnk.netG This user is from outside of this forum
          grrgyle@slrpnk.netG This user is from outside of this forum
          grrgyle@slrpnk.net
          wrote last edited by
          #36

          What is it meant to be?

          db0@lemmy.dbzer0.comD 1 Reply Last reply
          1
          • grrgyle@slrpnk.netG grrgyle@slrpnk.net

            What is it meant to be?

            db0@lemmy.dbzer0.comD This user is from outside of this forum
            db0@lemmy.dbzer0.comD This user is from outside of this forum
            db0@lemmy.dbzer0.com
            wrote last edited by
            #37

            I put the prompt in the alt-text

            grrgyle@slrpnk.netG 1 Reply Last reply
            5
            • db0@lemmy.dbzer0.comD db0@lemmy.dbzer0.com

              I put the prompt in the alt-text

              grrgyle@slrpnk.netG This user is from outside of this forum
              grrgyle@slrpnk.netG This user is from outside of this forum
              grrgyle@slrpnk.net
              wrote last edited by
              #38

              That's smart

              1 Reply Last reply
              1
              • prodigalfrog@slrpnk.netP prodigalfrog@slrpnk.net

                So happy to be home again ^^

                grrgyle@slrpnk.netG This user is from outside of this forum
                grrgyle@slrpnk.netG This user is from outside of this forum
                grrgyle@slrpnk.net
                wrote last edited by
                #39

                Welcome back, and I agree!

                1 Reply Last reply
                2
                • blaze@lemmy.dbzer0.comB blaze@lemmy.dbzer0.com

                  Context:

                  • https://lemmy.dbzer0.com/post/45900905
                  • https://slrpnk.net/comment/16108244
                  Link Preview Image
                  samus12345@sh.itjust.worksS This user is from outside of this forum
                  samus12345@sh.itjust.worksS This user is from outside of this forum
                  samus12345@sh.itjust.works
                  wrote last edited by
                  #40

                  F 1 Reply Last reply
                  32
                  • S squaresinger@lemmy.world

                    Tbh, the vast majority of performance issues don't come from the language but from the application itself.

                    While python is clearly slower than rust when it comes to pure native performance when doing exactly the same things exactly the same way and only within the language itself, the same isn't necessarily true in the bigger picture.

                    • Python uses C modules under the hood. A lot of the functions you call actually utilize C with C performance.
                    • Lower level languages allow the programmer to fail harder. While perfect low-level language code usually runs faster than perfect high-level language, the same cannot be necessarily said for bad or average code. For example, it's really hard to make an actual memory leak in Python. It's super easy to do so in languages without built-in memory management. The same applies in many other cases too. Python just gives you a lot of already-done tools that you only have to use, while other languages allow you to build the tools from scratch, which is easy to mess up.
                    • Most performance is lost due to using wrong algorithms or data structures. It's quite common when optimizing that you e.g. manage to eliminate a nested loop or something like that (e.g. loops hidden inside functions you call), and suddenly you improve performance by a factor of 1000. The same can't be done by switching languages, where even the most inefficient languages are only maybe 10x slower than the fastest languages.

                    So independent of the programming language, investing time in optimizing can improve the performance much more than using a faster language, and it's much easier to make perfectly optimized high-level language code than perfectly optimized low-level language code.

                    irelephant@lemmy.dbzer0.comI This user is from outside of this forum
                    irelephant@lemmy.dbzer0.comI This user is from outside of this forum
                    irelephant@lemmy.dbzer0.com
                    wrote last edited by
                    #41

                    The main bottleneck is I/O anyway.

                    1 Reply Last reply
                    2
                    • blaze@lemmy.dbzer0.comB blaze@lemmy.dbzer0.com

                      Context:

                      • https://lemmy.dbzer0.com/post/45900905
                      • https://slrpnk.net/comment/16108244
                      Link Preview Image
                      E This user is from outside of this forum
                      E This user is from outside of this forum
                      epicstove@lemmy.ca
                      wrote last edited by
                      #42

                      .ca mentioned les goooooooo!

                      1 Reply Last reply
                      6
                      • blaze@lemmy.dbzer0.comB blaze@lemmy.dbzer0.com

                        Context:

                        • https://lemmy.dbzer0.com/post/45900905
                        • https://slrpnk.net/comment/16108244
                        Link Preview Image
                        A This user is from outside of this forum
                        A This user is from outside of this forum
                        ayyy@sh.itjust.works
                        wrote last edited by
                        #43

                        But I was assured by entitled assholes that going down for a few days would be the absolute end of the community and it would never bounce back… I was assured it was extremely irresponsible bordering on criminal negligence for a hobby forum to not have at least three global points of presence each staffed with 24/7 on-call engineers.

                        1 Reply Last reply
                        14
                        • blaze@lemmy.dbzer0.comB blaze@lemmy.dbzer0.com

                          Context:

                          • https://lemmy.dbzer0.com/post/45900905
                          • https://slrpnk.net/comment/16108244
                          Link Preview Image
                          M This user is from outside of this forum
                          M This user is from outside of this forum
                          mo_lave@reddthat.com
                          wrote last edited by
                          #44

                          1 Reply Last reply
                          7
                          • samus12345@sh.itjust.worksS samus12345@sh.itjust.works

                            F This user is from outside of this forum
                            F This user is from outside of this forum
                            frostblazer@lemm.ee
                            wrote last edited by
                            #45

                            Feelsbadman, I feel like we were just starting to grow too 😕

                            1 Reply Last reply
                            3
                            • blaze@lemmy.dbzer0.comB blaze@lemmy.dbzer0.com

                              Context:

                              • https://lemmy.dbzer0.com/post/45900905
                              • https://slrpnk.net/comment/16108244
                              Link Preview Image
                              C This user is from outside of this forum
                              C This user is from outside of this forum
                              compostgoblin@slrpnk.net
                              wrote last edited by
                              #46

                              Wooooo! We are so back!

                              1 Reply Last reply
                              2
                              • blaze@lemmy.dbzer0.comB blaze@lemmy.dbzer0.com

                                Context:

                                • https://lemmy.dbzer0.com/post/45900905
                                • https://slrpnk.net/comment/16108244
                                Link Preview Image
                                glowing_hans@sopuli.xyzG This user is from outside of this forum
                                glowing_hans@sopuli.xyzG This user is from outside of this forum
                                glowing_hans@sopuli.xyz
                                wrote last edited by
                                #47

                                these turtle thingies are cute, like the meme format.

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


                                • Login

                                • Login or register to search.
                                Powered by NodeBB Contributors
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Popular