• TypicalHog@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    15 hours ago

    The video’s message is that Rust is positioned to be the universal programming language of the future - one that developers can learn once and use across all domains throughout their entire careers, similar to how C served that role for previous generations of programmers.

      • Azzk1kr@feddit.nl
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 hour ago

        The main thing that has been bugging me is slowness of rust-analyzer or whatever the name is of the code completion engine.

        • Lucy :3@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          5 hours ago

          Unfortunately. But it feels and looks like JS, they then realized they needed typing, so they slapped Python typehints on top, but made them essentially optional, but still enforce strict typing. Then they realized that using installed libraries was too convenient, so they shit on the worst dependency system I’ve ever seen.

          • TehPers@beehaw.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 hours ago

            Wait, you’re bringing up Python and saying Rust has the worst dependency system you’ve ever seen?

            • Lucy :3@feddit.org
              link
              fedilink
              arrow-up
              2
              ·
              4 hours ago

              At least I can manage Pythons packages without pip (eg. with pacman) and it doesn’t need to compile ~500 packages for a program as complicated as hello world. I can probably compile the kernel faster than most of the small shit rust programs I need on my server.

              • TehPers@beehaw.org
                link
                fedilink
                English
                arrow-up
                2
                ·
                3 hours ago

                You can manage Python packages? When I try to pip install -r requirements.txt, it fails because I’m on Python 3.12 instead of 3.11, except it doesn’t tell me that’s why so I spend the next hour debugging that only to later find out that I also installed the packages globally instead of in a venv and now I need to uninstall them to unfuck my other environments.

                But hey, if it works for you, then that’s great.

                • Lucy :3@feddit.org
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  edit-2
                  3 hours ago

                  I can manage it very easily. In fact, I don’t even need to do that because pacman keeps track of dependencies itself and installs those dependencies system-wide automatically. Even python packages.

                  And practically, just install and use the recommended/required python version.