Rust lobbyists winning

      • kleeon [he/him, he/him]
        ·
        2 months ago

        I am mostly joking but rust is quite annoying and is only useful in very specific circumstances. I'm not against encouraging people to use better designed languages than C though

          • kleeon [he/him, he/him]
            ·
            2 months ago

            skill issue

            Most rust programmers don't know how to implement a linked list

              • neo [he/him]
                ·
                1 month ago

                Most C++ programmers don't actually understand lifetimes or even basic memory safety.

                Fingers crossed I get this job I'm applying for where they actually care about this.

          • TrashGoblin [he/him, they/them]
            ·
            2 months ago

            Just because you can, doesn't mean you should. For application code, it's almost always better to use a language with garbage collection, in order to get memory safety without undue ceremony. Yes, some gc-ed languages are slow (Python, Ruby), but others are quite fast (JVM, .NET, Common Lisp, Haskell).

        • someone [comrade/them, they/them]
          ·
          2 months ago

          If you're looking to write the types of server daemons often written in C, Go is another good choice. It's very C-like in its syntax. It has a lot of the same safety features Rust has but isn't nearly as complex to learn. It also has a huge standard library, so you rarely need to rely on third-party code.

          Go isn't too suitable for drivers or kernels or other kinds of system software though. Rust is definitely a better choice for those.