1. 5

    Can someone please explain the separation between the WebKit JS engine, V8, WebKit and Blink? I thought that Blink was a fork of WebKit, and that it was simply a rendering engine. This article makes it sound like WebKit also includes a JS engine. Is the name overloaded?

    Also, I was disappointed to learn that FTL didn’t stand for “Faster Than Light.”

    1. 2

      WebKit has hooks to plug in different JS engines. Before the Blink fork, Safari was built with WebKit and Apple’s JS engine, while Chrome was built with WebKit and V8. Now that Chrome has forked WebKit into Blink, they only care about one JS engine (V8), and so they may have made it harder / impossible to switch out.

      1. 2

        WebKit’s JS engine is called JavascriptCore. As far as I know none of the WebKit “ports” (webkit-gtk, webkit-qt, etc.) provide access to V8.

        In general WebKit is kind of a mess; things that should be orthogonal (e.g. what GUI toolkit is used for rendering, which HTTP library is being used, which Javascript engine is being used, which features and options are exposed) are all bundled together.

      1. 7

        This is niiiiiice.

        I read a lot of code everyday and I don’t want to clone every single repo I poke into. I hope Github takes some UI/UX ideas from this.

        Being able to bounce between different files in the same namespace in a Haskell library without bouncing “out” of the file into the directory and then clicking “into” a different file and instead going directly to the file I want from the side panel is great.

        1. 5

          Github’s keyboard shortcuts can help here, hit t and start typing the name of the file you want to browse to.

          Of course, that’s predicated on knowing the filename you want to view, but when you do it’s a real click-saver

          1. 4

            I use vimium, there’s a conflict there.

            1. 2

              To view all of GitHub’s shortcut keys, press ?, then click the ‘Show All’ link. They are quite similar to those GMail uses for searching and navigation.

              Some other useful shortcuts:

              • l to jump to a line
              • w switch branch/tag
              • / search current repo
              1. 1

                Github became so much more useful once I discovered the t shortcut. When asked questions at work about certain parts of our codebase I now refer to the Github repository to search for a file rather than my possibly stale local copy of the same project. It makes quick references very accessible.