Live data from Hacker News

SerenityOS Browser now passes the Acid3 test

twitter.com

51–60 of 178 posts

Re: SerenityOS Browser now passes the Acid3 test

#51

Earlier quoted context omitted.

No, SerenityOS is strictly C++

Which is both very impressive given everything that is being produced, but also a bit scary and sad in 2022. There is ample evidence that even very excellent developers and teams can't avoid the footguns of c++ and that leads issues down the line. If we just look at the browser, they seem to make much faster progress than Servo, but there is no doubt it will have security flaws.

The "AK" standard library that they use is extremely good and very dynamic. Much better than the C++ STL

Re: SerenityOS Browser now passes the Acid3 test

#53

I've watched a few of this guy's videos, and it's deeply impressive. He reminds me of the grizzled old guys from the 1980's that actually know the deep internals of an OS. They didn't just take it in school, they lived and breathed it. He's the guy that made the 'myth' of a 10x coder a reality for me. I get this is his passion project, but part of me wonders what he could accomplish working on the rough edges of linu…

Linux's rough edges form a fractal.

Re: SerenityOS Browser now passes the Acid3 test

#54

I don't follow web standards closely, but I'm curious if this comment is still true (or was ever true): "For people who don't follow modern web standards, a modern web browser getting 100/100 is actually failing tests. You should get 97/100, failing tests 23, 25, and 35." https://news.ycombinator.com/item?id=18941348

That's pretty dumb grading. Why not flip the sense of the assert for those three tests?

Re: SerenityOS Browser now passes the Acid3 test

#55
post #22

Maybe in 20 years we'll be hacking on this on our desktops while every other user OS is still an heroing for the "grandma's tablet" market.

I don't know, I'm trying to be a bit realistic about it when it comes to another new OS that can run on real hardware and is reliable enough as a daily driver. Might take more than two decades for it to be as usable as macOS. By then we would be just still running Windows / macOS on our ARM desktops / laptops, Fuchsia on our phones, tablets and chromebooks, Linux still stuck on the server and everything else stuck in…

[deleted]

Re: SerenityOS Browser now passes the Acid3 test

#56

Earlier quoted context omitted.

The old version ( http://acid3.acidtests.org/ ) will reach 97/100 on modern compliant browsers. There is a newer version ( https://wpt.live/acid/acid3/test.html ) which incorporates the changes made to the specs in the meantime, so modern browsers will reach 100/100 on this one again. The test was carried out against this version, as you can see in the address bar in the screenshot.

Your link also only gets 99/100 on modern browsers. Why? Well... // test 64: more attribute tests // attributes of the element var obj1 = document.createElement('object'); obj1.setAttribute('data', 'test.html'); // ... assert(obj1.data.match(/^http:/), "object.data isn't absolute"); See that "http" in test 64? Turns out you'll get a score of 100/100 if you use the http version of the URL instead of HTTPS.

Confirmed for me. Where's the metatest that tests Acid3?

Re: SerenityOS Browser now passes the Acid3 test

#57
post #31

Earlier quoted context omitted.

Which is both very impressive given everything that is being produced, but also a bit scary and sad in 2022. There is ample evidence that even very excellent developers and teams can't avoid the footguns of c++ and that leads issues down the line. If we just look at the browser, they seem to make much faster progress than Servo, but there is no doubt it will have security flaws.

zig has many of the same footguns as C++ and C; it just has better developer ergonomics. Use after free, double free, invalid stack RW, uninitialized data, race conditions, etc. They're all possible to be found in Zig programs, because the language doesn't provide assurances against them.

(Have never written Zig)

Does the design of the language make them less (or more) likely to occur, though? e.g. all these things are possible in Forth too, but the design of the language definitely seems to conspire to make them less likely than C in my experience (I probably have about as many hours in each now? Roughly 1k, maybe 1.5k?).

(I suspect that this is the case in Forth because the stack gives a "linear-like feel" to most code; it's more obvious that you're accidentally not freeing something, because you need to explicitly discard it.)

Re: SerenityOS Browser now passes the Acid3 test

#59
From serenityos.org:

> ... marriage between the aesthetic of late-1990s productivity software and the power-user accessibility of late-2000s *nix

> ... a system by us, for us, based on the things we like

Come on, just say you want back your Win98/Win2K look'n feel ;)

While I personally like my windows less decorated and more Mac OS-like, I'm quite impressed by the determination and progress of the SerenityOS team. Are there app porting guidelines, or maybe POSIX/LSB, X Windows, or other compat statements?

Re: SerenityOS Browser now passes the Acid3 test

#60
That's wonderful! How much RAM does it need?

My biggest complaint about modern browsers is that I can't load a web page in less than 64 MiB, which is more than my entire computer had when I was running Netscape 3. The browsers are better now, but not in ways that necessarily use more memory.

Post reply on HN