1. 143
  1. 39

    I can never decide when I look at SerenityOS whether writing an OS or a web browser from scratch is more impressive but I’m increasingly leaning towards the latter. Fantastic milestone!

    1. 7

      Browsers are easy, all the behaviour is specified, you just need to implement the specs. There only like 500 of them, so nothing too hard :D

      1. 15

        1.2k specifications for a total of 114 million words. For reference, the average length of a novel is 90 thousand words, so you could feasibly get through about one thousand, one hundred novels before you reach the length of the web browser specifications

        1. 5

          I was joking, I know browsers are absurdly complex :D

          1. 1

            Where did you get those numbers?

            1. 3

              Drew DeVault, who did an analysis of this. I think it’s generally Verboten to link to his site here, though. The average books thing was just a search, which turned up a few publishers websites, which said most novels range from 50k to 150k words, and the average of most novels is 90k

              1. 2

                It’s fine to link to DeVault’s site in a comment, but the domain is blocked from submissions.

                1. 1

                  Verboten

                  wait why?

                  1. 2

                    He was banned from lobsters on 2021-02-09 with the moderation log entry “Please go be loudly disappointed in the entire world (and promote sourcehut) somewhere else.”. At the same time it was made impossible to create a new story on lobsters with a URL pointing at his website.

                    1. 4

                      Mod log entry for “drewdevault.com”, on 2021-02-09 12:32 -0600:

                      Reason: I’m tired of merging hot takes, or cleaning up after the results of his trolling and sourcehut promotion.

                      1. 1

                        Woah.

          2. 17

            Despite my qualms (I speak as someone who wrote a little bit of the C library), I love the infectious can-do attitude of Serenity; it’s very inspirational!

            1. 4

              Amazing work as always. I’ve been following serenity’s development from the start and these milestones of sorts always impress me. I can’t even comprehend what it takes to write an operating system, let alone a web browser that works on it.

              1. 4

                This is really cool. I try out Serenity a couple of times a month and lobste.rs is one of my go-to ‘test sites’ (until recently, one of the relatively few sites that could actually be viewed, due to the now-solved cryptographic limitations). The progress has been amazing; just a few months ago the site was more or less unusable. To get to the point of interactivity is a huge accomplishment as anyone who knows anything at all about the complexity of the modern web can appreciate.

                1. 3

                  SerenityOS is one of those things that I keep a passive eye on, but it’s rapidly becoming something I want to actually play with. I may just do that now!

                  1. 2

                    I know they’re working on a c++ parser for hack studio, and I really hope they get to a code generator for it eventually, to make the ultimate yak OS :)

                    1. 1

                      Hm what does this mean? “hack studio”?

                      And yes I have to echo all the other comments, this is amazing!

                      1. 3

                        “Hack studio” is the code editor (awesome name btw). Not sure if it’s gotten any IDE features yet.

                        1. 2

                          Their from-scratch (because of course) c++ parser provides semantic completions now :)

                        2. 2

                          Hack studio is the serenity ide - it has highlighting, code completion, etc by virtue of (of course) having its own c++ parser :)