Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. My skill prevents bugs, unlike your fancy compiler, peasant.

My skill prevents bugs, unlike your fancy compiler, peasant.

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
87 Posts 61 Posters 5 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S [email protected]
    • if your skill is so great that you would never cause the kinds of bugs the rust compiler is designed to prevent, then it will never keep you from compiling, and therefore your complaint is unnecessary and you can happily use rust
    • if you do encounter these error messages, then you are apparently not skilled enough to not use rust, and should use rust

    In summary: use rust.

    F This user is from outside of this forum
    F This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #8

    I don't agree with /u/red-crayon-scribbles ' approach to memory safety, but what you're saying isn't entirely true either.

    It is possible to manipulate memory in ways that do not conform to Rust's lifecycle/ownership model. In theory, this can even be done correctly.

    The problem is that in practice, this leads to the following, many of which were committed by some of the most highly skilled C developers alive, including major kernel contributors:

    https://xeiaso.net/blog/series/no-way-to-prevent-this/

    M K 2 Replies Last reply
    24
    • danhab99@programming.devD [email protected]

      "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

      rayquetzalcoatl@lemmy.worldR This user is from outside of this forum
      rayquetzalcoatl@lemmy.worldR This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #9

      "So does skill" I agree 100%

      However, we're human. You show me a skilled developer who never causes bugs, and I'll show you a liar.

      No matter how skilled or experienced a developer is, they always have the capacity to introduce a bug by accident.

      Whether it's a typo, or simply being tired or distracted, or just having one of those moments, or even one of those days. It's completely normal.

      Coding is just communication, and when working on larger codebases it can be just as nuanced as interpersonal communication. People miscommunicate every second of the day.

      I've never used Rust.

      1 Reply Last reply
      19
      • D [email protected]

        This so true, every one complaining that the borrow checker is annoying isn't apparently aware what they used to do was inherently flawed. Sure there a some, though rare, false positives. But they are easily mitigated. These people are exactly that what they themselves are complaining about, elitist.

        S This user is from outside of this forum
        S This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #10

        Yeah. Once you get used to the (verbose, but by no means unergonomic!) syntax, you'll probably never be happy with another language again. Job-wise, I am currently mostly using Go, and while also a nice language, I miss the confidence and security I took for granted with rust.

        Not to mention just how goddamn expressive rust can be. Let bindings like if ok/err, else return? Assign from a match on Some(Ok(x))? Filter, map, and friends on any iterator? Oh my GOD the error handling with the question mark iterator? 100% confidence that if it compiles, no error, possible null value, or case is unhandled.

        And all this WHILE giving you the amazing security benefits!

        Ah, damn, caught me proselytizing again.

        M 1 Reply Last reply
        10
        • S [email protected]

          Yeah. Once you get used to the (verbose, but by no means unergonomic!) syntax, you'll probably never be happy with another language again. Job-wise, I am currently mostly using Go, and while also a nice language, I miss the confidence and security I took for granted with rust.

          Not to mention just how goddamn expressive rust can be. Let bindings like if ok/err, else return? Assign from a match on Some(Ok(x))? Filter, map, and friends on any iterator? Oh my GOD the error handling with the question mark iterator? 100% confidence that if it compiles, no error, possible null value, or case is unhandled.

          And all this WHILE giving you the amazing security benefits!

          Ah, damn, caught me proselytizing again.

          M This user is from outside of this forum
          M This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #11

          Lol build something with serde and you'll be hooked for life

          S 1 Reply Last reply
          2
          • danhab99@programming.devD [email protected]

            "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

            O This user is from outside of this forum
            O This user is from outside of this forum
            [email protected]
            wrote on last edited by [email protected]
            #12

            I love this argument because it means this dude is the only skilled C developer on the planet. Chromium devs are just chumps that should be replaced by this uncommon God.

            Anti Commercial-AI license

            S 1 Reply Last reply
            3
            • J [email protected]

              [This comment has been deleted by an automated system]

              I This user is from outside of this forum
              I This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #13

              It’s like going to city hall and complaining your tax dollars are being spent on guardrails along the road that you haven’t personally ever driven into.

              C 1 Reply Last reply
              10
              • I [email protected]

                At this point, I've seen far more people being almost violently anti-rust than I've seen people being weirdly enthusiastic about rust. If Rust people are Jehovah's Witnesses, then a lot of the anti-Rust people are ISIS.

                B This user is from outside of this forum
                B This user is from outside of this forum
                [email protected]
                wrote on last edited by [email protected]
                #14

                i think one factor (though definitely not all) of the dislike is the politics of the project, which are fairly inclusive and kind. some people can't stomach that.
                another factor might be that the mere existence of rust implies that a lot of people are not the 100x rockstar developer they might aspire to be.
                maybe it's also just a simple change = bad. though i have seen people who dislike rust also gravitate towards zig, and that also has some big differences. maybe it's a hate towards mozilla?
                when i talk to people who hate rust they don't articulate themselves well, so i have to speculate and i get nowhere.
                one thing i do hear about rust a lot is that it's ugly, but I don't really get that. i can't personally fathom disdaining to use a tool simply because of looks, and i also don't personally think rust is ugly.

                K D 2 Replies Last reply
                19
                • danhab99@programming.devD [email protected]

                  "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

                  b_tr3e@feddit.orgB This user is from outside of this forum
                  b_tr3e@feddit.orgB This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #15

                  The problem with these followers of rust is that they're heathens, disbelievers and worshippers of the devil. Just like all of you heretics. There is just one programming language for the true believer and it is FORTRAN. The pure and true FORTRAN, that is, which is punched into cards of virgin paper, not the heresy created by the blasphemy of 99.

                  J 1 Reply Last reply
                  30
                  • danhab99@programming.devD [email protected]

                    "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

                    zea_64@lemmy.blahaj.zoneZ This user is from outside of this forum
                    zea_64@lemmy.blahaj.zoneZ This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #16

                    C's compiler prevents common type bugs and handles things like register allocation for you? So does skill.

                    1 Reply Last reply
                    22
                    • F [email protected]

                      I don't agree with /u/red-crayon-scribbles ' approach to memory safety, but what you're saying isn't entirely true either.

                      It is possible to manipulate memory in ways that do not conform to Rust's lifecycle/ownership model. In theory, this can even be done correctly.

                      The problem is that in practice, this leads to the following, many of which were committed by some of the most highly skilled C developers alive, including major kernel contributors:

                      https://xeiaso.net/blog/series/no-way-to-prevent-this/

                      M This user is from outside of this forum
                      M This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #17

                      ...echoing statements expressed by hundreds of thousands of programmers who use the only language where 90% of the world's memory safety vulnerabilities have occurred in the last 50 years, and whose projects are 20 times more likely to have security vulnerabilities.

                      ooof.

                      1 Reply Last reply
                      13
                      • danhab99@programming.devD [email protected]

                        "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

                        T This user is from outside of this forum
                        T This user is from outside of this forum
                        [email protected]
                        wrote on last edited by [email protected]
                        #18

                        Gonna guess, basically the same thing. Easy answers to hard questions instead of you having to think about them.

                        So, as far as they would be concerned, the only reason more people haven't chosen that path must be because they don't know how much easier it is, and how much less they have to think about stuff.

                        They can't see that building skill and knowledge has value beyond the extra effort.

                        1 Reply Last reply
                        2
                        • F [email protected]

                          I don't agree with /u/red-crayon-scribbles ' approach to memory safety, but what you're saying isn't entirely true either.

                          It is possible to manipulate memory in ways that do not conform to Rust's lifecycle/ownership model. In theory, this can even be done correctly.

                          The problem is that in practice, this leads to the following, many of which were committed by some of the most highly skilled C developers alive, including major kernel contributors:

                          https://xeiaso.net/blog/series/no-way-to-prevent-this/

                          K This user is from outside of this forum
                          K This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #19

                          You can do that in Rust with the unsafe keyword

                          1 Reply Last reply
                          1
                          • danhab99@programming.devD [email protected]

                            "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

                            allnewtypeface@leminal.spaceA This user is from outside of this forum
                            allnewtypeface@leminal.spaceA This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #20

                            The human mind has limited capacity for things to pay attention to. If your attention is occupied with tiptoeing around the loaded guns scattered all over the floor, sooner or later you’ll slip and trip over one.

                            Of course, you’re a virtuoso programmer, so you can pirouette balletically around the floorguns as you deliver brilliantly efficient code. Which is great, until you have an off day, or you get bored of coding, run off to join the circus as a professional knife-juggler and your codebase is inherited by someone of more conventional aptitude.

                            Programming languages offering to keep track of some of the things programmers need to be aware of has been a boon for maintainability of code and, yes, security. Like type systems: there’s a reason we no longer write assembly language, squeezing multiple things into the bits of a register, unless we’re doing party tricks like demo coding or trying to push very limited systems to their limits.

                            W 1 Reply Last reply
                            43
                            • B [email protected]

                              i think one factor (though definitely not all) of the dislike is the politics of the project, which are fairly inclusive and kind. some people can't stomach that.
                              another factor might be that the mere existence of rust implies that a lot of people are not the 100x rockstar developer they might aspire to be.
                              maybe it's also just a simple change = bad. though i have seen people who dislike rust also gravitate towards zig, and that also has some big differences. maybe it's a hate towards mozilla?
                              when i talk to people who hate rust they don't articulate themselves well, so i have to speculate and i get nowhere.
                              one thing i do hear about rust a lot is that it's ugly, but I don't really get that. i can't personally fathom disdaining to use a tool simply because of looks, and i also don't personally think rust is ugly.

                              K This user is from outside of this forum
                              K This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #21

                              Correct me if I'm wrong because I never used Zig before, but I believe people like it because of the transparency in what the code is doing, like there's no hidden functionality. Where as Rust definitely does do that.

                              1 Reply Last reply
                              3
                              • S [email protected]
                                • if your skill is so great that you would never cause the kinds of bugs the rust compiler is designed to prevent, then it will never keep you from compiling, and therefore your complaint is unnecessary and you can happily use rust
                                • if you do encounter these error messages, then you are apparently not skilled enough to not use rust, and should use rust

                                In summary: use rust.

                                tatterdemalion@programming.devT This user is from outside of this forum
                                tatterdemalion@programming.devT This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #22

                                Your first point is not true. There are valid uses of memory sharing that rust will reject.

                                S 1 Reply Last reply
                                16
                                • I [email protected]

                                  At this point, I've seen far more people being almost violently anti-rust than I've seen people being weirdly enthusiastic about rust. If Rust people are Jehovah's Witnesses, then a lot of the anti-Rust people are ISIS.

                                  sexualpolytope@lemmy.sdf.orgS This user is from outside of this forum
                                  sexualpolytope@lemmy.sdf.orgS This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #23

                                  It's like the people complaining about SJWs and cancel culture. Sure, some people are annoying and use these things to harass others, but the vast majority are just normal people who care about certain things. But people on the other side, when they can't provide a good argument against them, start to vilify the people themselves. It's similar to how right wingers cry about decorum when they're more likely to vote for rapists.

                                  I must admit that I had given into this anti-SJW hate at some point in my late teens, but I luckily realized how I was acting like a little bitch, hating on people I don't even know just because they're passionate about equality. The funny thing was, I still believed in their causes, but was pretty much brainwashed into believing that they're hurting the cause by being vocal. It's weird how dumb we often are.

                                  1 Reply Last reply
                                  9
                                  • B [email protected]

                                    i think one factor (though definitely not all) of the dislike is the politics of the project, which are fairly inclusive and kind. some people can't stomach that.
                                    another factor might be that the mere existence of rust implies that a lot of people are not the 100x rockstar developer they might aspire to be.
                                    maybe it's also just a simple change = bad. though i have seen people who dislike rust also gravitate towards zig, and that also has some big differences. maybe it's a hate towards mozilla?
                                    when i talk to people who hate rust they don't articulate themselves well, so i have to speculate and i get nowhere.
                                    one thing i do hear about rust a lot is that it's ugly, but I don't really get that. i can't personally fathom disdaining to use a tool simply because of looks, and i also don't personally think rust is ugly.

                                    D This user is from outside of this forum
                                    D This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #24

                                    I think a bunch of C programmers hate rust passionately because they always looked down their noses at principled languages for being slow.

                                    Now a principled language is beating them on both speed and safety and it's as if the jocks lost a baseball game to the nerds who studied dynamics of solids and cut a series of little slots in their bats so that every time they hit the ball it went out of the park.

                                    So much hate for the clever win over the brute force.

                                    P 1 Reply Last reply
                                    15
                                    • danhab99@programming.devD [email protected]

                                      "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

                                      M This user is from outside of this forum
                                      M This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #25

                                      “Should I use rust or c++” is the wrong question IMO. The right question is “do I want the code I run, written by thousands or millions of randos, to be written in rust or c++”.

                                      1 Reply Last reply
                                      32
                                      • danhab99@programming.devD [email protected]

                                        "Rust's compiler prevents common bugs" So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

                                        tdawg@lemmy.worldT This user is from outside of this forum
                                        tdawg@lemmy.worldT This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #26

                                        A real programmer only needs parentheses smdh

                                        1 Reply Last reply
                                        5
                                        • allnewtypeface@leminal.spaceA [email protected]

                                          The human mind has limited capacity for things to pay attention to. If your attention is occupied with tiptoeing around the loaded guns scattered all over the floor, sooner or later you’ll slip and trip over one.

                                          Of course, you’re a virtuoso programmer, so you can pirouette balletically around the floorguns as you deliver brilliantly efficient code. Which is great, until you have an off day, or you get bored of coding, run off to join the circus as a professional knife-juggler and your codebase is inherited by someone of more conventional aptitude.

                                          Programming languages offering to keep track of some of the things programmers need to be aware of has been a boon for maintainability of code and, yes, security. Like type systems: there’s a reason we no longer write assembly language, squeezing multiple things into the bits of a register, unless we’re doing party tricks like demo coding or trying to push very limited systems to their limits.

                                          W This user is from outside of this forum
                                          W This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #27

                                          Which is why garbage collection is the way to go.

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups