1. 36

  2. 6

    There’s another important reason, that the article doesn’t mention. In spite of exceptions not being necessary, they are still used in release mode. And LLVM uses “zero-cost” exceptions, which are rather bloaty.

    1. 5

      Are you speaking about Rust or C++ here?

      While currently, in Rust, landing pads and such are included, in nightly you can compile with an abort instead. That said, it wasn’t in the article.

    2. 1

      I’d like to read this, but the heavy weight font and tight margins makes it quite difficult :(

      1. 4

        A good use for Firefox’s reading mode! http://i.imgur.com/ImXJFD6.png

        1. 3

          I’ve found that these reader mode in browsers never enable themselves when you want to, and only seem to offer them in places where it mangles the content.

          1. 3

            Which browsers?

            Firefox reading mode never enables itself. If it detects the page is “article-like” it presents a button which you can press to opt-into reading mode.

            It’s not perfect, and some pages don’t work well with it, but the vast majority do. I use it all the time.

            1. 3

              I don’t get why it doesn’t show the button all the time, I’ll decide if/which pages I want to screw up thanks.

              1. 4

                When it doesn’t work, the page typically appears blank. This would be frustrating if it happened all the time, so I appreciate the browser not showing me the option when it knows it won’t work.

                It doesn’t mangle the page, so much as copy the text content into a new page.

                1. 1

                  This usually happens when the only “semantic” element on a webpage is <div>

          2. 1

            Try pasting this in your console: document.getElementsByTagName("body")[0].style["margin"] = "0 auto"