Rustls Multi-Threaded Performance Is Battering OpenSSL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • TheMightyBuzzard
    Senior Member
    • Sep 2021
    • 416

    #41
    Originally posted by darkonix View Post

    Linus Torvalds is sponsoring adding Rust code to the Linux kernel. Just saying.
    No, he's open to letting you fanbois give it a shot. The two are not the same.

    Comment

    • cynic
      Senior Member
      • Oct 2011
      • 1089

      #42
      Originally posted by patrick1946 View Post

      So you quote a document from the guy who is not anymore sponsored. Hmm.
      I haven't found any explanation from the other side.

      I'm open to change my opinion if given another valid version of the facts.

      Comment

      • TheMightyBuzzard
        Senior Member
        • Sep 2021
        • 416

        #43
        Originally posted by sdack View Post
        While I do not like the tone in this discussion, the Rust community is taking a great risk with this particular project. If Rustls shows to be more secure and faster than other implementations, then not much will happen and Rust will continue to claim its usefulness and place. If the Rustls project shows to be as or less secure however, then it will undermine the assumption that using Rust would lead to more secure software. A failure to provide a more secure implementation will have greater consequences for the Rust language and its community. Hopefully will they make sure this is not going to happen but continue to be good competition.
        You don't seem to understand how software is assessed in the real world. It's not a risk. It IS less secure because it has not been proven to be secure by years of the world trying to break it on production machines. Nobody but idiot noobs think you can just write something and it be secure. Not even mathematically proven things are actually secure. Mathematicians can miss a trick, a new bit of math can expose tricks never before suspected, or a viable attack can come in from a side channel. Only use in production can prove something viable, until then it's just a best guess.

        Comment

        • gquintard
          Junior Member
          • Apr 2019
          • 6

          #44
          Originally posted by TheMightyBuzzard

          What is wrong is a bunch of people looking to destroy Western society are playing an idiotic pronoun game to drive a wedge between people and set them at each other's throats. If that weren't the case, pronouns would be superfluous as you could simply add Mr/Ms/Mrs before your name and eliminate all confusion.
          Aren't you being a tiny dramatic? Like, I don't think people put pronouns in their bio to set the world on fire. If they are, it's probably the least effective arsonist strategy ever.

          However, people trying to elevate that to a world-ending issue, well, they probably have something to sell you.

          It's interesting that you despise pronouns, but are fine with Mr/Ms/Mrs. Aren't you upset that women get twice as many denominators as men do?

          Don't you have anything better to do than being angry and afraid all the time?

          Comment

          • archkde
            Senior Member
            • May 2019
            • 684

            #45
            Originally posted by caligula View Post
            Perl is slow as hell.
            Last time I checked, the build system is not linked into the library. But what to expect of posters complaining about the "militant pink-lightblue-white coding sock community".

            Comment

            • BwackNinja
              Senior Member
              • Jul 2012
              • 144

              #46
              I'd like to see how BearSSL performs against these. I don't imagine it would win, but it would give an interesting comparison point.

              Comment

              • archkde
                Senior Member
                • May 2019
                • 684

                #47
                Originally posted by Volta View Post

                Yeah, right. Currently rust is probably the shittiest one when comes to multithreading. It's only easier to do multithreading with it. At least in some part. OpenSSL is just bad example. Let's take Linux and PostgreSQL. They eat any shit written in rust for breakfast.
                Of course software running in production for decades with tons of resources poured into it will eat a lot of others for breakfast. That's why successful projects like Linux and rustls don't start from scratch, but gradually add Rust to existing software.

                Comment

                • archkde
                  Senior Member
                  • May 2019
                  • 684

                  #48
                  Originally posted by sandain View Post

                  Serious question here: what is wrong with putting pronouns in bios? I personally work with a lot of people from different backgrounds from my own, and I have a hard time knowing which pronouns to use based on names alone, especially for non-western names. I'm not even talking about the cis/trans culture war going on right now -- I just prefer to avoid misgendering colleagues and clients I've only met over email.
                  Obviously the problem with putting pronouns in bios is that anyone you might interact with online is male, so just use he/him. (/s if it wasn't clear)

                  Comment

                  • oleid
                    Senior Member
                    • Sep 2007
                    • 2512

                    #49
                    Originally posted by Almindor View Post
                    Mutable pointer aliasing optimizations have been possible on Rust for many years, but ironically because they're not possible for C/C++ the optimization path was broken in LLVM (C++ code, double irony).
                    That's not true. There is the restrict​ keyword in C99 for usage with pointers, e.g. for function arguments.
                    If you, however, lie about the pointer aliasing this leads to undefined behavior. That's one of the reasons why that keyword is not widely used in C99.
                    And that was the main reason why this optimization was broken in llvm for a long time.
                    What is true is, that in rust restrict is the default, as rust knows about the pointer aliasing.

                    Last edited by oleid; 03 December 2024, 01:14 PM.

                    Comment

                    • rmfx
                      Senior Member
                      • Jan 2019
                      • 758

                      #50
                      Originally posted by Raka555 View Post
                      The thing is the other implementations have decades of baggage. They probably can't touch or understand a lot of the code.
                      We will have to see how well rustls stands up after 30 years of different people hacking on its code base.
                      Having said that, it is always nice to see someone raising the bar.
                      Maybe that’s teaching that code is not meant to be updated forever, and sometimes it’s more productive to start fresh than patching over patches.
                      If only windows could get it….

                      Comment

                      Working...
                      X