As shown in the video. I only experience this on google translate but not sure what the exact steps to reproduce it are. I also noticed that sometimes google translate’s tab memory usage grows so big, over 1 giga for the single tab, with continued prolonged usage (hours). Not sure if this is related though.

    • setVeryLoud(true);@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      such a meme

      We’ll see when the Rust browsers come to fruition. If it’s full of unsafe sections because it has to run arbitrary code, it won’t be worth much.

      • thingsiplay@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        It’s not a meme. Most code in Rust is safe code. Even safe code does not prevent memory leaks, but it makes it vastly less likely, because of the controlled memory management. For those places when unsafe code is used, the likelyhood of getting memory leaks rises obviously. But that is a controlled little space. Because its marked as unsafe code, there is a huge red flag and more eyes are on that part than usual. And in case of a memory issue, those are the places to look first, which in turn helps finding memory issues faster.

        Compare this to C, where everything is unsafe, potentially millions lines of code. Versus a couple of hundreds of thousand lines of unsafe code in Rust, if any. You can declare it as meme if you like, but that doesn’t change the facts.