I don’t think it makes any sense to keep investing in an old language, while writing code for today.

Which make me ask, will it ever be ported/modernized?

  • PonyOfWar@pawb.social
    link
    fedilink
    arrow-up
    22
    ·
    1 day ago

    Unless there’s a concrete reason to do that, I don’t see why they would. Python isn’t outdated, it’s actively supported and one of the most widely used programming languages in the world. It has arguably never been more relevant than it is now, due to its use in ML development. Just because it’s technically older doesn’t mean that it’s worse. That’s just not how programming languages work.

  • SW42@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    1 day ago

    What are you talking about? Your issue is that python is “old”? Oh sweet summer child…

  • zxqwas@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 day ago

    Why don’t you do it?

    Whatever answer you give is probably a very good reason not to.

    • squirrel@cake.kobel.fyi
      link
      fedilink
      English
      arrow-up
      14
      ·
      1 day ago

      Why don’t you do it?

      Exactly. Fork it, make GoFed, extend the Fediverse. That’s how open source works.

  • Fushuan [he/him]@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 day ago

    … Is this bait??? How in the hell is python an old language??? It gets new releases, it’s readable, it’s used everywhere for everything (sometimes when it shouldn’t but this is not the case tho). It has tools and binds for basically everything.

    Also, comparing it with a compiled language, good one. Guess what is and what isn’t used in serverless functions, Lambda doesn’t even support Go ffs. It’s java, ruby, node and python. And from those most use node or python.

    What the hell, good bait I guess. I’m coming back to write more lol.

    • graynk@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      23 hours ago

      Guess what is and what isn’t used in serverless functions, Lambda doesn’t even support Go ffs. It’s java, ruby, node and python. And from those most use node or python.

      I assume that this isn’t bait, so I’ll answer.

      1. It doesn’t matter what Lambda supports
      2. There isn’t a dedicated runtime for Go because it doesn’t need a runtime. It will work on OS-only runtime like any other language that gets compiled down to a binary: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-provided.html
      • Fushuan [he/him]@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        20 hours ago

        About 1, I was commenting on the serverless world, a big part of today’s cloud infrastructure, and AWS is one of the major cloud providers. I feel like, to show the relevance of a language compared to another, it kinda does matter that you can’t code directly and let the provider compile your small-ish program.

        About 2, it works with the generic runtime for sure, but almost everything does, technically C++ does too lol, meaning that you need to upload the binary that you compile locally or via some sort of pipeline. Which is worse than say, using typescript and letting them transpiled it into is so Node can run it. It’s not supported in that way.

        In any case, you wouldn’t really use a compiled language like Go to have small-ish serverless functions. Go does have a use case ofc, I’m just making a case of how not obsolete python is.

        • graynk@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          19 hours ago
          1. Yes and it all does not matter in the slightest for discussing if a language is a right choice for something like Piefed. Not that there’s much to engage with in the original post - I almost regret leaving a comment on a post like this, but I feel this may be a learning for some.
          2. There is zero significance in it being supported in “that” way. There used to be a Go-specific runtime (before there were OS runtimes), but they have dropped it because it made no sense once OS runtimes appeared. If you use TS you likely already have a build step somewhere before deployment unless your function is dead simple (which admittedly it should be, but rarely is). Might as well compile a binary, it’s not that complicated. And yes, using a compiled language like go (or C, yes) may absolutely be the correct choice depending on what you need - if it’s in a hot path which serves a lot of traffic then it may lead to much better warm up times and better throughput, as there isn’t a whole runtime to boot and script to interpret like there would be with Node and/or Python (let’s not talk about Java). I’m simplifying a bit, but hope that helps.

          I’m just making a case of how not obsolete python is.

          There’s no need to do that, it’s self-evident and the original post does not deserve a second of anyone’s time.

          • Fushuan [he/him]@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            2
            ·
            5 hours ago
            1. You are right, I guess I was unnecessarily defending python too much.
            2. Iirc with typescript was is the one that takes care of the transpilation step, so you can technically just code and the press deploy like with python or js. But yeah, you are right, this discussion is irrelevant to the topic of the post.

            Agreed that the OG post doesn’t deserve anyone’s time, which is why I acknowledged that they successfully baited me lol. I think I did.

            Have a great day! <3

  • Pamasich@kbin.earth
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    I don’t think it makes any sense to keep investing in an old language, while writing code for today.

    Then don’t go with Go either, shit is from 2009. That’s 16 years ago. If you care about age so much, go with something actually modern, not a slightly younger dinosaur.

    But both of them keep getting updated, so this doesn’t really make sense as an argument anyway.

  • kbal@fedia.io
    link
    fedilink
    arrow-up
    9
    ·
    1 day ago

    Of all the languages you could choose to randomly stan for. I hate Go. It seems like every cosmetic change they made to the syntax in order to make it look slightly different than C was a change for the worse.

    • beep@piefed.worldOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Similar to python in terms of needed functionality, while providing a better features.

    • roux2scour@jlai.lu
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      Go is very nice to use (i think) and well designed for server backends, but honestly, today’s python can do approximatively the same with the right librairies, so remake everything with Go might be harder than just optimizing python, + python is way more easy to maintain imas it is used by more people