Skip to content

C++ is a horrible language.

    Linus Torvalds rant on C++

    Its actually a rant on C++ by Linus Torvalds himself, the creator of Linux back in 2007. The site had since shut down but an archive version with Linus reply can still be found on the Wayback Machine.

    C++ is a horrible language. It's made more horrible by the fact that a lot 
    of substandard programmers use it, to the point where it's much much 
    easier to generate total and utter crap with it. Quite frankly, even if 
    the choice of C were to do *nothing* but keep the C++ programmers out, 
    that in itself would be a huge reason to use C.
    
    In other words: the choice of C is the only sane choice. I know Miles 
    Bader jokingly said "to piss you off", but it's actually true. I've come 
    to the conclusion that any programmer that would prefer the project to be 
    in C++ over C is likely a programmer that I really *would* prefer to piss 
    off, so that he doesn't come and screw up any project I'm involved with.
    
    C++ leads to really really bad design choices. You invariably start using 
    the "nice" library features of the language like STL and Boost and other 
    total and utter crap, that may "help" you program, but causes:
    
     - infinite amounts of pain when they don't work (and anybody who tells me 
       that STL and especially Boost are stable and portable is just so full 
       of BS that it's not even funny)
    
     - inefficient abstracted programming models where two years down the road 
       you notice that some abstraction wasn't very efficient, but now all 
       your code depends on all the nice object models around it, and you 
       cannot fix it without rewriting your app.
    
    In other words, the only way to do good, efficient, and system-level and 
    portable C++ ends up to limit yourself to all the things that are 
    basically available in C. And limiting your project to C means that people 
    don't screw that up, and also means that you get a lot of programmers that 
    do actually understand low-level issues and don't screw things up with any 
    idiotic "object model" crap.
    
    So I'm sorry, but for something like git, where efficiency was a primary 
    objective, the "advantages" of C++ is just a huge mistake. The fact that 
    we also piss off people who cannot see that is just a big additional 
    advantage.
    
    If you want a VCS that is written in C++, go play with Monotone. Really. 
    They use a "real database". They use "nice object-oriented libraries". 
    They use "nice C++ abstractions". And quite frankly, as a result of all 
    these design decisions that sound so appealing to some CS people, the end 
    result is a horrible and unmaintainable mess.
    
    But I'm sure you'd like it more than git.

    Original thread with Linus full reply

    On Wed, 5 Sep 2007, Dmitry Kakurin wrote:
    > 
    > When I first looked at Git source code two things struck me as odd:
    > 1. Pure C as opposed to C++. No idea why. Please don't talk about portability,
    > it's BS.
    
    *YOU* are full of bullshit.
    
    C++ is a horrible language. It's made more horrible by the fact that a lot 
    of substandard programmers use it, to the point where it's much much 
    easier to generate total and utter crap with it. Quite frankly, even if 
    the choice of C were to do *nothing* but keep the C++ programmers out, 
    that in itself would be a huge reason to use C.
    
    In other words: the choice of C is the only sane choice. I know Miles 
    Bader jokingly said "to piss you off", but it's actually true. I've come 
    to the conclusion that any programmer that would prefer the project to be 
    in C++ over C is likely a programmer that I really *would* prefer to piss 
    off, so that he doesn't come and screw up any project I'm involved with.
    
    C++ leads to really really bad design choices. You invariably start using 
    the "nice" library features of the language like STL and Boost and other 
    total and utter crap, that may "help" you program, but causes:
    
     - infinite amounts of pain when they don't work (and anybody who tells me 
       that STL and especially Boost are stable and portable is just so full 
       of BS that it's not even funny)
    
     - inefficient abstracted programming models where two years down the road 
       you notice that some abstraction wasn't very efficient, but now all 
       your code depends on all the nice object models around it, and you 
       cannot fix it without rewriting your app.
    
    In other words, the only way to do good, efficient, and system-level and 
    portable C++ ends up to limit yourself to all the things that are 
    basically available in C. And limiting your project to C means that people 
    don't screw that up, and also means that you get a lot of programmers that 
    do actually understand low-level issues and don't screw things up with any 
    idiotic "object model" crap.
    
    So I'm sorry, but for something like git, where efficiency was a primary 
    objective, the "advantages" of C++ is just a huge mistake. The fact that 
    we also piss off people who cannot see that is just a big additional 
    advantage.
    
    If you want a VCS that is written in C++, go play with Monotone. Really. 
    They use a "real database". They use "nice object-oriented libraries". 
    They use "nice C++ abstractions". And quite frankly, as a result of all 
    these design decisions that sound so appealing to some CS people, the end 
    result is a horrible and unmaintainable mess.
    
    But I'm sure you'd like it more than git.
    
    			Linus

    You think that just because I masturbate to furry porn I’m a furry?

      Furry porn copypasta

      Started as joke from r/copypasta circa 2016, the pasta is usually copy pasted onto Steam profile as a way to troll user.

      You think that just because I masturbate to furry porn I'm a furry? Think again, maggot. The furry fandom is a breeding ground for the most advanced autism this planet has ever seen. Every day, thousands are consumed by a tidal wave of OwO and cancerous roleplaying, and the foundations of our society slowly weaken under the constant onslaught of weapons-grade cringe. Our founding fathers recoil in disgust as people dress up as animals and buy giant dildos on the Internet, fucking each other in sweaty drunken homosexual orgies and traumatizing children in droves. Every second we draw closer to Furry Armageddon, and you sit there saying stupid shit on the Internet. To compare someone to a furry is the most heinous insult imaginable. When your door gets broken down by a rainbow wolf/deer hybrid and you get yiffed into oblivion, then we'll see who's laughing. This is a real threat and it must be treated with extreme solemnity. 

      He just needs to improve his driving, speed, training, awareness, accuracy, handling, reactions…

        Lando Norris copypasta

        Originally started as a tweet on ENCE (pro CSGO team), the copypasta can sometimes appear outside of esports such as F1.

        Lando Norris is WDC Material. He just needs to improve his driving, speed, training, awareness, accuracy, handling, reactions, adaption to different conditions, track walks, communication, learning, public reputation, likeliness, calmness, media duties, responses, luck, talent, etc. 

        Bro, be careful. I was flying from denmark to spain, had some çoço up my booty.

          Comment
          byu/dagmagnus from discussion
          inDrugs
          Bro, be careful. I was flying from denmark to spain, had some çoço up my booty. As soon as i stepped out of the plane, the airport security approached me and told me to step aside into their room. There they told me to empty my pockets, and then to undress and to do squats naked. I had a golf ball of good stuf up my arse so I told them that shiit hell nah I aint doin squats thats gay. But it was either that or waiting 24h in the „shit grab” room so I did those squats with my brown eye holding to its dear life. But I did not pop it and then they did let me go 

          Dark Souls ruined my life.

            Dark Souls copypasta
            Dark Souls ruined my life. There were some thugs who tried to rob me the other day. I immediately roared and tried to replicate Manus' five hit combo. They laughed and kicked the shit out of me. When I was shopping, I found a cool greatcoat and tried to look its item description. It was a bit heavy, "I wish I had Havel's Ring." I said to myself. I asked the shop assistant how much souls is it. She yelled at me, I didnt understand why for a second. My mom says she is worried about me, I replied her how cool it is to use ultra greatswords. She doesnt get me. I started to roll when I saw a dog in the park, thinking it was Sif. I also feel discomfort about there are not enough blacksmiths in my area to forge my armor. Dark Souls ruined my life. 

            Always remember that everything a niji says is about suspension.

              Nijisanji suspension copypasta
              Always remember that everything a niji says is about suspension. If they are going on vacation, it's a suspension. If she's taking a break, she got suspended. If she seems happy, it means she managed to avoid the stealth suspension this week. If she is sad, it means she's going to get suspended next week. If a Niji is going to the toilet, she's actually going to suck off her manager to avoid getting suspended. If she went on a date with another Niji, they actually got suspended together. If she fails on a puzzle in a game, it's because she got distracted by a message from her manager that she's suspended. Table smash? Not a fist but it's her hitting the table, because she got suspended. Did she oversleep a stream? Micro suspension. If she starts a guerilla stream it's because she's currently suspended, but is rebelling against management.The only possible reason for a niji to take a break is because she's suspended. Whenever a niji talks about her family, she's actually developing a cover story about her suspension. That health break she took for surgery? Suspended. Not only that, but everything is actually a keyword for suspension
              >Thanks for the aka supa = thank you for staving off suspension for the day
              >Im tired this week = I'm going to get suspended this week
              >Im planning a collab = They are planning on suspending me
              >Oh sorry, that was just my family in the background = Oh Manager-san is behind me looking like he's considering suspension
              >Thank you for all the support everyone = thanks management they didn't suspend me today
              It all revolves around suspension. All nijis , every single one, worry about suspension every day, every hour, every moment. Every single narrative, every single noise she lets out is because of fear of suspension. All nijis read these threads and they're here right now. All while having being suspended. They keep having technical difficulties because they keep getting suspended, it fries electronics in their room. Every yab moment is because they can't take their minds off the fear of being suspended long enough to think straight