I mean by useless is it’s so slow you can’t make games or even big projects for GUI, only you can do is AI/ML, Data Science, and basic stuff. I think Rust is better because of its speed and language capabilities?

  • brucethemoose@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    5 days ago

    …Have you tried ML projects in Rust?

    I mean, ML/data science devs use Python because the bajillion underlying libraries and implementations are already there.

    It’s not perfect. But that’s fine, because it’s a pretty good prototyping language for researchers, and anything performance sensitive is done in libraries anyway.


    If you want a real world example, see: Mistral.rs vs vllm.

  • TheMightyCat@ani.social
    link
    fedilink
    arrow-up
    9
    ·
    5 days ago

    I don’t like python personally, but saying its useless is quite far detached from reality considering all the python projects.

    You can argue its slow and i would agree, but if people make alot of stuff with it its clearly not useless.

    A programing language cannot be better than another one because its personal opinion.

    • CarlLandry357@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      8
      ·
      5 days ago

      if people make alot of stuff with it its clearly not useless

      You’re correct, but we cannot avoid that it’s limites to basic stuff, you can’t make a facebook with pytho with good speed.

  • who@feddit.org
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    5 days ago

    you can’t make games or even big projects for GUI

    Oh no? Someone should probably tell the people who made Eve Online.

      • who@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 days ago

        No. They chose a nonstandard Python because they wanted to use coroutines before standard Python had coroutines.

        Your No True Scotsman argument is not only fallacious, but just plain incorrect.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    5 days ago

    No. Next question.

    (insert spongebob meme showing the fat dude a bunch of big python projects upon which many things run in this world)

  • Feyd@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    5 days ago

    Python obviously isn’t useless, but it is both slow, and if you’re making serious software, the worst developer experience I’ve ever had to deal with. It makes the easy things easy and the hard things hard, so to speak

  • adr1an@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    Python is the 2nd best language for any task.

    You can learn niche langs for specific cases. Go for it.

    Me, a python dev, will find an API to your subroutines.

    PS. import antigravity

  • leanleft@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    i think a key consideration is wether there are alot of developer for the lang.
    a foss project will grow faster if its written in rust,js,cpp,python

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      5 days ago

      Was it though? Or is it like other things “written in Python” where all of the heavy work is handled by C libraries?

      • Solemarc@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        4 days ago

        I hate this argument on principal, if I write a game with Pygame, it’s written in Python not C.

        Balatro is written in Lua not C just because Love uses SDL.

        This is like saying Python, CPP, JS, PHP, LUA, Perl, Dart, C# and Java are just written in C.

        This is like saying Rust isn’t a real language because it relies on LLVM which is written with C/CPP.

        If I split the lua code in balatro from the SDL library, I don’t have a game anymore.

        • atzanteol@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 days ago

          Why do you feel a need to be able to claim that something is “written in Lua” or “Python” when it’s using native libraries? Many games are using a mix of languages these days. There’s no shame in it and I didn’t imply there is.

          People get very confused over this thinking that “Python is very fast at number crunching” because of things like numpy which is written partly in C to achieve that performance.

          This is like saying Rust isn’t a real language because it relies on LLVM which is written with C/CPP.

          That’s entirely different - I’m not talking about the interpreter or compiler. Just the runtime code.

      • Womble@piefed.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 days ago

        Python itself is just a program written in c, every time you do len(string) you are calling out of the python interpreter into compiled c code. The distinction between python wrapped c library and a python lib can be fuzzy.

        • atzanteol@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 days ago

          That’s not what I’m talking about. Things like “numpy” which are actually written with a fair amount of C for performance. Or pandas which uses Cython to trans-pile Python to C to compile.

          It’s not “pure python”.