• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    3
    ·
    17 hours ago

    Absolute rubbish. Go is typically something like 2-3x slower than “native” languages like C and Rust. Python is typically 50-100x times slower. Go is much much closed to C than it is to Python.

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          4
          ·
          16 hours ago

          i mean, that’s what you’re supposed to do. python is a glue language, after all.

          • FizzyOrange@programming.dev
            link
            fedilink
            arrow-up
            2
            arrow-down
            3
            ·
            12 hours ago

            Nonsense. You are only “supposed” to do that because if you are using Python and you want performance you have no other choice!

            Reminds me of people saying you aren’t “supposed” to store binaries in git - yeah only because git is so bad at it! When we were all using SVN people would have said “you aren’t supposed to have multiple people editing the same file simultaneously” as if it were a fundamental truth.

            And Python isn’t “a glue language”. It’s often used like that but there are many many pure Python projects.

            • lime!@feddit.nu
              link
              fedilink
              English
              arrow-up
              4
              ·
              11 hours ago

              but like, most of the standard library is written in c. most popular libraries are written in c. they’re built that way because python is a flexible way to glue functionality together. that’s the point of python: it’s easy. if i want performance, i port part of the logic to a compiled language. but most of the time that’s not necessary.

              just like how with git, we have lfs. we build what we need when we need it. i don’t understand your tone here.

              • FizzyOrange@programming.dev
                link
                fedilink
                arrow-up
                1
                arrow-down
                3
                ·
                edit-2
                7 hours ago

                they’re built that way because python is a flexible way to glue functionality together

                Lol no. They’re built that way because it’s fast! Can you imagine how slow Python would be if it was self hosted? Actually I bet someone has tried that…

                Yep - go and benchmark that and get back to me in a few days when it’s finished running hello world, lol.

                just like how with git, we have lfs

                Have you ever actually used LFS? It’s a pretty terrible experience.

          • FizzyOrange@programming.dev
            link
            fedilink
            arrow-up
            1
            arrow-down
            3
            ·
            12 hours ago

            Nonsense. You are only “supposed” to do that because if you are using Python and you want performance you have no other choice!

            Reminds me of people saying you aren’t “supposed” to store binaries in git - yeah only because git is so bad at it! When we were all using SVN people would have said “you aren’t supposed to have multiple people editing the same file simultaneously” as if it were a fundamental truth.

            And Python isn’t “a glue language”. It’s often used like that but there are many many pure Python projects.