1341 points · by eatonphil · 4y ago · 473 comments
The Ladybird browser came to life on July 4th
Coincidence or not, that's a great date.
Also, he actually did work on web browsers previously:
> Until that point, my career had been focused on web browsers (WebKit at Apple & Nokia).
So he knows exactly what he's doing.
Based on those two datapoints, I'd say he (and other contributors) have a good shot at it.
[0] https://www.ekioh.com/flow-browser/ [1] https://www.ekioh.com/devblog/acid/
Yes, I do disqualify it for that reason.
> Coincidence or not, that's a great date.
Especially if considering that St. Ulrich is also the saint of the dying.
Acid2 was specifically built to call IE out and to put browser builders on notice. It tests the most nuanced little quirks of some specific specs; and, because of some changes in the modern standard, doesn’t actually conform anymore.
This is with all extensions off using Firefox ESR
Yes, I am aware also that HN has blindspots, eg with Show HN Dropbox
> 1708 Battle of Holowczyn: Swedish King Charles XII defeats superior Russian force in surprising vctory
That must have been it.
Not entirely!
I’m not American by the way.
Relatedly, I find that with regards to history, most people have quite a large recency bias. If I ask someone who the greatest actors of all time are, at least half will be within the last several years. Same with this question, the first non imperialist great power is likely some random Chinese or Mesopotamian or African kingdom.
I'm talking about easy stuff, too, like normal flow, margin, border, padding box alignment.
The existing official test suites are entirely manual.
Edit: What you're describing requires you to make the entire world first, then finally test something.
Here's an example: I want to test the white-space property. How do I test that? Oh also, font rasterizers are all different and standards don't dictate what happens after box layout. It's acceptable that glyphs render with different dimensions.
How do I test that? A casual HN reader isn't going to care. Someone actually writing this stuff, will.
> No, we have a traditional AST interpreter that is being replaced by a bytecode VM. You can track the LibJS test262 score for both backends here. I’m not convinced that the complexity and security burdens of a JavaScript JIT are reasonable, and given recent developments like Microsoft Edge’s Super Duper Secure Mode, I’m interested in pushing for best-effort JIT-less performance while keeping the codebase simple.
Always excited to see new JS engines. I'd be curious to see where LibJS's performance / code simplicity / memory balance tends towards over time.
That being that everything in SerenityOS and its several related projects is made from scratch.
They are using Qt and C++. They have chosen where to draw a line, which is fine, and that line happens to be on the other side of "Javascript Engine".
As a larger point, it is important to have multiple web stacks so that no one player can dictate what the web should look like, or gate access through that stack. Having this new stack grow to the point where it is becoming a viable alternative is great to see.
That strikes me as a pretty naive view. If you y've got a webstack with >90% market share, you effectively have one webstack which dictates what the web should look like.
Because most devs will only test for it (best ROI) and most users will switch to it when their ability to use the web on other stacks starts degrading.
I'm not hopeful that it can ever be replicated. That said, I will always continue to use browsers other than Chrome, so at least selfishly I'm excited about projects like this!
It took MS sleeping on it for several years and the entire web taking off like a rocket for that to happen. Not to mention “full web” mobile expectations.
It took cataclysmic disruptions in the space to even have a chance if breaking IE’s monopoly.
A website I use said I need to use their Chrome add-on to automate some info gathering stuff. But I use Firefox?
Google dictates it and I've ran into many many sites that doesn't function with firefox or anything other than chrome
For a while, Slack didn't support all features on Firefox despite the technology being there, I don't know if this is still the case.
That said, lately, that particular thing has been the only one that I need to use that outright doesn't work.
I think a number of Google technologies are slower in Firefox on purpose, but I just avoid them and keep telling competition authorities about their abuse of power.
Sooner or later they will get caught.
If you watch his first Ladybird video after the project announcement, it is just him saying that he has spent the day getting Reddit to look right. He records the hour or so that it takes him to make CSS font emblems render properly. It is a priority because they appear on Reddit.
The video that brought SerenityOS the most fame was probably him porting Diablo ( well, DevilutionX ) to his OS. When he encounters a missing function from his C Standard Library, he simply adds it.
He is very driven by practical usability.
He wants an OS written from scratch with a full suite of software that he can use as his daily driver. So, he needs a web browser. He needs one that properly renders the kinds of sites he visits. Simple.
Compare this to projects like ReactOS that resist even adding support for a working browser.
For context, SerenityOS was dreamed up during a stint at a state rehab facility. (This information is included in a link from TFA)
His operating system was deeply related to his obsessive mystical thoughts. The computer was an "oracle", a medium through which he communicated with the Divine. If he had received the mental healthcare he needed, I wonder if he would have continued with the project. In a way, that project was all he had, when he had lost everything.
Servo had trouble getting 10k per year funding for just basic CI expenses.
When I see hype around a new browser engine from scratch I am immediately skeptical, unless those 'donations' turn into 'corporate sponsorships'.
It was an R&D project and, if you look at the bits that made their way in to Firefox, a fairly successful one. Stylo, WebRender, various parsers etc...
All thanks to Google; 'funding' more than 85% of Mozilla, which not only having a direct competitor browser going against what Mozilla is standing for, they continue to fall behind features that Google pushes into the web standards committee at the W3C with Mozilla sitting there doing nothing, but going along with it, but late.
Mozilla failed because for 14+ years it was unable to make money for itself other than Google and could not move away from them when they ate their lunch and quickened their decline.
> I'll take 100 monthly donations over one corporate sponsor any day.
I didn't say 'one corporate sponsor', but let's go with the '100 monthly donations'.
How many of those developers are active and full time like awesomekling? Less than 5?
With a simple observation on their Patreon / GitHub sponsorship page, paying $4 a month average with 100 people is hardly enough to support a single developer, even with the $1K monthly going to only one developer for building a browser and especially with less than 5 active developers. Realistically, corporate sponsors would make this more sustainable.
An interesting alternative was embassies project[1], which got WebKit running on an understandable computing base. The current-day equivalent would be to get WebKit running on top of, say, WebAssembly and the Canvas API. That would be immense impactful, but isn't as sexy or cool as writing your own browser from scratch.
That being said, I applaud the Ladybird initiative. Scratching your own itch is the way to go when aiming for maximum enjoyment.
[1] https://www.usenix.org/conference/nsdi13/technical-sessions/...
Most complex languages get interpreted or compiled into a much simpler format, and the simpler format gets executed. This lets the execution environment be small and understandable, as you said.
Using HTML/CSS as primitives means the execution environment has to be complicated, because the execution environment itself needs to be aware of things like whether certain attributes get inherited and how they are inherited.
I have hope for WebAssembly + Canvas, because it's a simpler set of primitives. There's a clear boundary between the simple execution environment and the tools that translate complex instructions into simple instructions.
I think there could be middle-ground approaches, we just don't have them right now. E.g. React is basically entirely interpreted; we could create something like React that used a different set of primitives than the DOM. Browser extensions could act as middleware between React and those new primitives, as a plugin to the execution engine similar to how they currently work. Someone smarter than me probably has a better idea of how that would be implemented, but it seems possible.
A lot of webpages I see aren't even really documents anymore. They serve a very basic HTML page and use JS to flesh out the rest. It's not all that conceptually different from Qt to me, except that there's a standards-enforced way to serialize the objects out into text. We could create a middle-ground engine that used simple primitives and could be serialized out into a text format. Qt kind of does that QtCreator, from what I know. I believe it creates XML docs that specify the objects to create.
Do they? Maybe they don't? Maybe we're at a point where people can author html/css, and if there are syntax issues, they just 'break' until someone fixes it. 25 years ago, maybe we needed some laxness, and perhaps today, we don't?
Gonna need vulkan, better tooling, and lots front-end brain rewiring. Might happen before the end of the decade
https://microsoftedge.github.io/edgevr/posts/Super-Duper-Sec...
The "super duper secure mode" is not at all about you accessing or modifying the JS code from a website you are visiting. What it is about is trying to protect against some piece of JS code bypassing the security of the browser sandbox and accessing stuff it shouldn't ever have access to.
:)
Edit: Also, in general, no, disabling JIT would not prevent any particular JS code or extension from running. At most, it might mean some code would run slower. But that's what they claim, that it isn't noticeable.
My question as a systems programming newbie:
Could a compiled binary of this project with HTML and CSS be used to create cross platform apps like Electron?
Have a look at Jakt, it looks a like a really cool language, that strike a balance between performance and simplicity. And it has proper sum-types!
Replace browsers -and- existing operating systems altogether.
——
As of now, in terms of end results for the user, what's missing from the Linux/Mac/Windows GUIs:
• Typing something (URL etc) and accessing the latest version of an app, with latest content, and knowing that everyone else in the world is getting the same thing.
• Linking to content within apps.
What's missing from browsers and the web: Too much to list, but mainly:
• Basic shit behaves differently on everywhere website.
• Too many artificial restrictions: Can't scroll freely, can't select freely, can't even freely zoom or save images on the most popular image-sharing websites, fuck you Instagram.
• I can't save my own data on my own machine, or easily move it between web-apps. Have to go through hoops to even access all your data that the website's company has access to, if ever.
• Inefficient usage of your hardware.
This is why I prefer managing the software I use myself. Upon first receiving a new version of a web app, I have never tried it or had a chance to review the changes to figure out how they affect my workflow. With software installed natively with my package manager, I have a chance to review everything and update only the software I want to update.
> • Linking to content within apps.
No, all major operating systems support scheme handlers.
No, you know that rarely works out in practice and is not what I meant.
Take this example: https://news.ycombinator.com/reply?id=32814887&goto=threads%...
Or: https://old.reddit.com/r/Gloomhaven/top/?t=month
But can we do something like this? file://Users/Me/Pictures/?filter=cats&sort=new
Or this? pixelmator.app/lastdocument/thumbnail
No, as far as I know it works very well in practice and thus I don't know what you mean.
Take this example. Steam has registered as a handler for the steam scheme on my PC. Any other app can open e.g. steam://store/655480 to link to a game in Steam. It's up to the scheme handler how the URI works. Steam supports a bunch of different actions and forms of deep linking via the steam scheme.
Here's what Slack supports via its scheme handler, for example: https://api.slack.com/reference/deep-linking#client
It's exactly what you're asking for, so I have no idea what compelled you to immediately dismiss what I was saying.
Android actually allows registering HTTP(S) URLs with certain domains and wildcards (https://developer.android.com/training/app-links). Not a big fan of this "validate a token through Google to skip the app choice dialogue" approach but luckily Firefox always prompts before opening a registered app link anyway. iOS supports a similar feature. It's up to browsers on other platforms to implement their own support if this is something one would want to add to the browser.
It is true that the things that you list are the actual problems, and there are many others, too. The modern WWW is a too messy design, and additionally to that, web pages and web browsers are also badly designed.
I had partially written specification of "VM3", which hopefully will be an improvement for cross-platform application programs. There is no CSS, nor Unicode (well, technically you can include Unicode text fragments, but it is discouraged), and it is independent of protocols (so you can use with local files, DVD, HTTP(S), Gemini, etc, but none of these are required nor is it limited to any specific kind). All I/O must be done using extensions (identified by UUID), which require a specification; it also has a mechanism for polyfills which is (in my opinion) superior than that of WWW. Furthermore, is intended better for the end user controls/customizations. Also, some of the internal design decisions I have done differently due to things that I think are better than what are currently done (e.g. how linking works, and many features use a binary format, etc). Extension declarations can also be linked with each other, too (note that this is linking the interface, not the implementation; the implementation is deliberately not specified by VM3).
Some VM designs are good for interpreted, and some are good for JIT, but I think that to make implementations competitive, and improve efficiency, it may be better for the design to be good for both, so that is what I have tried to do. For example, there are restrictions on how branch addresses can be derived (e.g. one feature is that you cannot store branch addresses in general registers).
VM3 cannot "execute ANY content natively on any platform" (and nor can anything else), but my intention is to make something better than existing systems.
Things similar to TerseNet, and other possible different things people will want to make, some of them may be possible as specific subsets of VM3. An implementation of VM3 can then support specific subsets or can have full capabilities (preferably, configurable by end user).
I guess SPAs and WASM kind of give you that within the security of the browser's sandbox.
Sounds like you want WebAssembly.
Variety is good. New browsers with new engines are good (though I think an announcement like this without any pre-built binaries for normies to download is a bit premature). I say this as a web developer who well remembers the IE6 struggles of yesteryear - but also fears the Chrome monoculture of tomorrow. UI differences between web pages are annoying, especially when they break things like scrolling and selecting, I agree, but the answer isn't to creatively flatten what the web can be, Big Brother-style.
As for Instagram, well, perhaps you should consider making a back-up of your own photos before you entrust them to a service owned by a company whose sole profit model is taking your content and putting ads next to it.
LibJS itself was very interesting, but unfortunately it depends on a bunch of other Serenity libraries (AK, LibCore, etc.) which in turn heavily depend on POSIX.
I'm curious if that means they want to make LibWeb / LibJS actually portable C++ code and how they plan on achieving that (hopefully without introducing a POSIX compatibility layer on win32 like msys or whatever).
[1] https://awesomekling.github.io/Ladybird-a-new-cross-platform...
It's akin to saying Microsoft Office runs on Linux; you just need to set up a VM running a Windows kernel first :)
I've just tried it, and it's early days- there are hundreds of thousands of edge cases to consider just to get it really "working" on linux, so it's no easy task. On the other hand , implementing a posix compatibility layer for Windows for just the things you need to support in the browser is relatively easy.
But it looks like whole WWW ecosystem resembles CVS -> Subversion situation and L.T. -like comments starts to look very sane...
> we do pass the classic Acid3 standards test, which covers a bunch of basic CSS layout features, and various DOM/HTML APIs. However, the test does not cover many of the features used on the web today (like CSS flexbox, CSS grid, etc.)
Ladybird implements its own HTML parser, CSS renderer, TLS layer, JavaScript engine, WASM VM, and even its own font rendering. As if building a browser from scratch was not hard enough, why not re-use some existing libraries as some comments here suggest.
Andreas had countered that he finds it slower and more difficult to work with a typical Open Source project that uses many libraries authored independently. In SerenityOS, if you want a feature or find a bug, you just make the change wherever required and check it into Git. This is true even if you make changes to multiple sub-systems at once. You have access to everything. In a more typical project, you may have to work around bugs in layers you do not control. You may be completely blocked by missing features. The standard argument is that you can just add it yourself but, as he points out, you may have to wait months for your changes to be incorporated and they could even be rejected. You can fork stuff but having to maintain a foreign code base written for different use cases using different philosophies is no fun. If you have to maintain it, why not write it the way you want.
Anyway, he argument is that for large, complex projects, it may actually be easier to write things from scratch than to try to cobble together a basket of independent dependencies.
There is something to be said for this perspective in my view. His progress with SerenityOS seems to support the argument.
At a rate, I am hopeful they can succeed and certainly wish them luck.
The worst part is the fucking patent lawyers: https://pdfpiw.uspto.gov/.piw?docid=09576068
WHATWG doesn't improve on this either, in fact, they completely leave it out, whereas at least W3C's original work makes it clear that it's descriptive and you need to figure out an algorithm that makes it work.
Edit: The section describing the processing model for CSS is non-normative. The authors provide an example flow, but a normative algorithm doesn't exist for CSS.[1]
[1]: https://lmeyerov.github.io/projects/pbrowser/pubfiles/paper....
[2]: https://github.com/uwplse/cassius
(not counting the 1990s constraint CSS effort).
The first was merely part of a parallel compiler project and also covers table layout, whereas the second is a Racket (Scheme) program to formulate the HTML doc and CSS rules as a theory for submitting to z3 SMT to solve all kinds of decision problems (it can also produce a rendering).
Not sure that's very helpful; it would be cool if W3C can invest some time into better specs (not just prose).
Writing a browser was no walk in the park like 6 standards revs ago: I bet it’s a fucking nightmare now.
[1] Also made a Mac OS launcher filesystem hook to auto apply the patch every time the browser updates.
[2] Yes, I packaged and published them too.
I wonder if that test suite could be run on LibWeb to give a good target for all those test-driven-development developers to target their efforts towards...?
As a side effect, multiple browser engines sharing test suites might help make the web more compatible...
This led me to think that I'm not sure inspiring of what, and so made me think of whether a sense of inspiration must always be to do something, or if is it sometimes just a feeling (like being sad, happy, angry).
Sorry for the somewhat off-topic thread.
[1] https://github.com/SerenityOS/serenity/blob/master/Meta/sere...
[2] https://github.com/SerenityOS/serenity/blob/master/CONTRIBUT...
I wrote an extremely primitive layout engine a few days ago that I was intending to build a custom browser around but it's very challenging problem. I use the ORCSolver greedy algorithm for widths or heights. I plan to implement text support but that's hard problem really.
I used WxWidgets and wrote it in Python for simplicity and understandability.
I plan to implement branch and bound with intervals.
Also should be helpful that independent programs can be written which combine them and use them in their own ways, e.g. to change the connections between components, to deliberately exclude some features, and/or to add new protocols and URI schemes and file formats and JavaScript functions and HTML commands and CSS commands (I have idea how to do by "meta-CSS", which is a feature to be used purely by the end user (document authors cannot use it)) and character encodings and audio/video codecs and other features, and/or changing some features. (I would hope to be able to write such extensions/programs in C, instead of having to use JavaScript.)
I also would have designed that it avoids converting to/from Unicode if possible, preferring to work in the text encoding directly, and using fonts of those encodings directly, when possible, and using Unicode as a fallback when needed or if there aren't fonts, etc available for the specific encoding already used. (This is to work around many problematic features of Unicode.)
User options are also needed. For example, there should be an option to disable MIME sniffing if the user does not want it. (One way to support this and other options is to implement a "header overriding" menu that the end user can configure (both request headers and response headers); this can be used to implement many options that the end user can configure, including (but not necessarily limited to): DNT, language, cookies, HSTS, etc.) Also, a better implementation would not try to hide things from the user or believe they know better than what the user has specified.
I also think that some parts of the W3C specification aren't so good and need to work around that somehow, in some cases.
Nevertheless it seem a good idea that they can make a new one in order hopefully is better than the other one (which, in time, we may be able to see).
https://github.com/SerenityOS/ladybird/blob/master/CookieJar...
class Node {
Vector<Node*> m_children;
Node* m_next_sibling { nullptr };
Node* m_previous_sibling { nullptr };
}
Either m_children or m_next_sibling/m_previous_sibling are clearly superfluous.m_children + m_parent are enough for tree representation.
See: http://aosabook.org/en/posa/parsing-xml-at-the-speed-of-ligh...
Iteration on array is faster (cache locality) than DL list traversal. And there are issues when you traverse tree while changing it.
In any case I've found that storing child nodes as m_children collection is more convenient in many cases. At least in Sciter (https://sciter.com).
struct node {
weak_ref<element> m_parent;
uint m_node_index;
}
struct element : node {
vector<ref<node>> m_children; // strict ownership, sic!
}I haven't looked at the code but that's my first impression given the nomenclature.
You may have children accounted as DL list and so each Node should have m_next / m_previous node references. + Parent node to have m_first_child reference (if list is circular). + m_parent (Node) reference.
So you need 4 pointers per each non-terminal node. Or 3 pointers for terminals.
Otherwise (vector of children):
You need only m_parent (Node
) reference in terminals. And in container nodes additional vector<NodePtr> m_children; to store child references.You want sibling nodes otherwise you will have to traverse back to the root node sometimes to find a sibling.
ladybird-git/src/ladybird/ConsoleGlobalObject.cpp:10:10: fatal error: LibWeb/Bindings/NodeWrapper.h: No such file or directory
10 | #include <LibWeb/Bindings/NodeWrapper.h>It would be great if they added a Github actions script to perform automated builds on each commit or PR merge.
Implementing a layout spec is exactly the kind of thing that is "easy for computers, hard for humans". ML is for things that are "hard for computers, easy for humans" (like, telling dogs apart from cats, or transcribing speech, etc).
I say so because (among other reasons) in general, current popular ML architectures (like transformers) count processing heirarchical data as one of their weaknesses. For example, there's a theoretical paper proving that self attention blocks (which are central to transformers) cannot solve arbitrarily nested negation(Ie, resolve not(not(not(true))) to true). Practically as well, we see most times that language models have trouble dealing with naturally occurring double negation in language, etc. But CSS/HTML is, I think, very heirarchical.
The standard Serenity install even comes with a basic filter list: https://github.com/SerenityOS/serenity/blob/master/Base/home...
HTML/CSS/JS combo has been pretty much as is, only with some better tooling, for the past 25 years and we could use a fresh innovation.
It's usually a small team who initiates an innovation as big companies don't like niche ideas but when it if gets enough dedication to take enough traction, it can fly.
Yes, I think that's the point of the browser: to allow users of SerenityOS to browse the web.
> Q: Why bother? You can’t make a new browser engine without billions of dollars and hundreds of staff.
Sure you can. Don’t listen to armchair defeatists who never worked on a browser.
If we start slowly, focus not on delivering a working product ASAP but a nice codebase that's accessible for other developers to read, carefully split modules so each part of the browser is a mini project by itself, with clearly defined business logic, outward connections (GUI, APIs, Drivers, etc), it can be done.
Yes, it will be a lot of work. But with a tidy codebase and a welcoming community (at least for a programmer) that "a lot of work" will instead become a playground to hack whatever component they desire.
The problem is that people don't want another Linux-like hobby project, they want another Firefox
The enduser couldn't care less what if-else nightmare logic you ran in your "application engine" in order to reach the current framebuffer, they care only about the framebuffer. Following this logic, that tidy codebase should perhaps be also tiny: in the extreme case, just thinking on a whim right now, it should be comprised of only one "module": a stable diffusion-like algorithm which ingests the HTML/CSS/JS specification documents and the requested website response and "simply" outputs the adequate framebuffer, with which the enduser interacts accordingly. This kind of approach probably reduces the cost from billions to only a few millions for the GPUs training time. Sort of a "generative browser", a "genser", if you will.
The if-else nightmare logic it's exactly what drives developers away and a surefire way to kill a project before it's even born.
Since the success of Ubuntu as a distro, people started to think of the FOSS ecosystem as a competitor to commercial software but gratis. And IMHO that's a wrong approach to Open Source.
We should go back to the roots, forget about competing, focus on what's the best not for the end users but on what's fun for the FOSS developers, and bring back the hobby on open source projects. Maybe someday, this project will become huge. Maybe not. Dunno.
Chromium isn't successful because of the billions thrown at it. It's successful because it was significantly better than anything else during its rise:
It was significantly faster than IE and FF. Much better memory management and crash handling via separate processes. Strict adherence to web standards. Seamless auto-updates that required no user intervention - ever. No admin privileges needed for updates. Clean UI that stays out of your way. Top-tier developer tools built-in. Very secure. Has there ever been a widespread instance where users were infected with malware from a Chrome exploit? I haven't heard of one yet.
Any competitor to Chromium needs to be significantly better than it for genuine reasons. Unfortunately, "not Google" and "privacy" aren't going to cut it for most average users to switch over. Unlike Meta, Google's reputation isn't in the trash so people still trust them.
Not even Google started from scratch. They started from WebKit and used their billions to overhaul, maintain and change everything from the engine to the renderer.
> But maybe you don't even need to build another Chromium.
That's what Servo said years ago. I don't see the progress or hype around that anymore.
Maybe Ladybird is different, but overall I'm very skeptical; but an alternative browser that is not Firefox, Chrome or Safari needs a high multi-person and project contribution for it to work.
I don't want to build another Chromium. I want to build a web browser. I don't think every browser is required to be like or support as many websites as Chromium does. Note that competing with the popular browsers of today has never been stated as one of Ladybird's goals.
This is akin to saying that if you want visit the US from Europe you must built a wooden tall ship, secure a crew of sailors, pack several barrels of limes, and spend weeks sailing across the ocean.
That's how they got there the first time but the choices they made then were determined more by the information they had at the time (or lack thereof) and the technology they had (or lack thereof).
Re-implementing a browser, starting today, is a fundamentally different process from building one starting over a decade ago while the web was constantly evolving.
Reminds me of: "According to all known laws of aviation, there is no way that a bee should be able to fly. Its wings are too small to get its fat little body off the ground. But the bee doesn't know that, so it flies anyway."
I guess Kling & co. didn't get the memo :)
haa, that's a fun idea! setting aside efficiency, though, neural networks aren't usually Turing-complete, so arbitrary JS isn't going to work. but, I could imagine building a very strict, minimalist browser engine (think XHTML and Scheme rather than HTML and JS), and learning a transformation between the two.
and for perf to be attainable, rather than an NN you could learn a bunch of syntax transformation rules between the two.
The comparison doesn't make sense.
Linux was not released in 2022, competing against 2022's Windows, it was released in 1991, competing with the technology at the time, and has since evolved and grew progressively, as the competition evolved and grew.
Releasing a new browser in 2022, competing against 2022's Chrome and Firefox, is a way bigger task (not that it's their goal).
The competition at the time was also cutting edge at the time, the result of billions of dollars of investment over decades, and Linux was nothing. There's no reason that your argument couldn't have been made in 1991. Why, specifically, would it have been a bad argument in 1991, since we now know it would have been?
I don't want that at all. Firefox lost their spine long ago, and at this point they aren't a Chrome clone, but its pretty close.
My understanding is that this is exactly the opposite of how Linux was started. It started off as a barely working product on 386 only and went from there.
It was a barely working product, but it was accessible enough to other developers to develop on it and extend it.
I wouldn't be surprised if 80% of the work spent on current webbrowsers is spent on maintaining compatiblity and edge cases.
I don't really see anything wrong with a browser that doesn't fully support every website and every weird example of HTML and CSS that a developer decided to hack together. If a browser supports the standards well and does a pretty good job of rendering modern websites then I'd happily trade failing to render some ancient HTML for a web browser that was truly open and free and doesn't send swathes of data about me back to some corporation.
Web browsers are compatible with old HTML because we choose to make them that way. That is a choice. If the cost of having a free and open browser is a requirement to drop some backwards compatibility with old HTML then I think that's actually quite a simple choice. After all, if people want to view an old website then they can still use Chromium or something. It's not like people have to pick a single browser and stick with it.
Consider from the perspective of the user. They're using chrome and browsing the web - all their favorite sites work. They switch to a new browser and some of the sites stop working correctly. Is it the fault of the browser? or is it the fault of the site?
For most users, if site X works using browser A and breaks using browser B - then it is browser B that is at fault.
This is a lesson that Microsoft learned. https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost... There's no refund involved, but switching back to the old browser is certainly possible.
Google Chrome is a product. But a new browser doesn't have to be a product. And doesn't have to compete with Chrome.
Linux as a project wasn't created to compete with other Unixes. And it wasn't deemed a failure when it lacked features compared to them 20 years ago
If the goal is to have something that's usable in limited cases for a self-selected set technically competent enthusiasts, then this is well within reason and not without value.
What I find particularly interesting is that there's an intent to support WebAssembly. That may turn out to be overly ambitious, but if they succeed there's a lot of potential upside to having another WebAssembly engine that's independent from the major browsers.
Also, lightweight browsers have been a dying breed for a while, if ladybird ends up as a more modern alternative to surf and Dillo, I'm already satisfied.
[1] https://surf.suckless.org [2] http://www.netsurf-browser.org
Something that will work reliably on every site and support the gazillions of APIs that Chrome provides? Hell no. Even Microsoft threw in the towel on that. Mozilla barely manages it.
You can make a browser that people can use if they really really want to make a point of using your browser. You can't make one that the average person would choose.
What we do need is to make one that you may choose if you want to be able to fully control the system (with fine customization, and interaction with other programs including native codes in C), and is designed for advanced users who have read all of the documents, rather than trying to hide things from the user or believe they know better than what the end user specified, and also it must be one that avoids all of the bad stuff that Google put in.
I don't even have it installed and yet I'm typing this into a website.
There are still loads of cross compatibility issues and performance differences based on certain features of course! But I would say the set of "sites that require weirdness" is going down, not up, every day
I think that's the irony here, the standards are pretty much set in stone and just incrementally grow. Some old cruft is beyond obsolete though. On the other hand nobody uses most of the bleeding edge APIs. But JS (and the part that is actually in use) is indeed growing at a solid pace.
This is all true.
On the other hand, operating systems are huge, complicated beasts, hardware compatibility is a constant moving target, and manufacturers won’t uphold compatibility guarantees.
So, the project does _not_ cover rendering web pages and tracking the HTML, CSS and JS standards. Those are separate projects.
What remains, then? I guess that would be the user interface and user experience.
> What remains, then? I guess that would be the user interface and user experience.
To be clear it uses a novel rendering engine (libweb) that the creators of LadyBird develop, it's just that that rendering engine has its own name and exists as a separate library.
This is not just another skin around webkit or chromium.
https://awards.acm.org/software-system/award-winners
For example, Richard Stallman (GNU) and Chris Lattner (LLVM) have both won the software system award, but it seems unlikely for them to be considered for a Turing award.
The web was a bit simpler back then, but still...
I am still sad that xhtml-basic failed, as it was an attempt to create a legacy free spec that might be feasible on embedded devices and phones. It got some adoption and then the iPhone ran full safari and that was the end of that.
I know it isn't a pretty thing to hear, but someone in this comment section has to say it.
Then let's not - death to irregular HTML and let the era of lean browsers begin !
Yes, I know, Martian Headsets (https://www.joelonsoftware.com/2008/03/17/martian-headsets/) - but considering how much of a contemporary web browser is about supporting irregular markup and other grandfathered hacks, deliberately scoping them out is an exciting approach to a possible non-RFC793 compliant future. Won't fly with mass market, but worth exploring by people who don't care about the mass market - and the marketing will come later, once someone with no money and a device to ship figures out how fast such browser can be with ridiculously low resources !
If rendering is usable but not pixel-perfect, then maybe that's fine. Especially when what's being rendered is in categories like "visual fluff" and "needed for advertising".
Who's going to support a browser compatible with stuff from 2011? There are companies like Ekioh that make niche solutions for embedded stuff, but there's nothing open source.
So what? Interested people can have multiple browsers installed.
Not even Firefox is supported by all sites, in which case I dust off Chromium I keep installed for just such situations.
You cannot make a useable, modern engine without such huge investments.
But it’s a cool hobby project.
And the elephant in the room, regardless of adoption it will never be on iphone.
They are doing it though; it's "real." Perhaps you are setting goals for them that they are not themselves setting?
> can't compete
You actually can read about their goals on the linked page, though. They are not attempting to "compete" with Chromium.
> iphone
So don't use iPhone, and use a phone that allows you to use the browser engine you want to!
It's obviously the grandparent meant it as not a toy implementation. As in, non computer literate people can use it without complaining about broken sites.
The first 80% will take 10% of time. Now last 20% will take 90% of the time.
Apparently they can't but they still do. Typing this from a mozilla browser.
> realistic
Having looked at the project and followed a few serenityos updates videos and if there is one word I would do to describe Andreas Kling and his contributors is that they are realistic about what they do and do not.
Same, but I doubt I'll continue to do so in far future, unless something major changes. Mozilla seems to be inching closer and closer to just another Chromium.
Like Google being forced to remove Chrome integration.
I suggest reading https://justforfunnoreally.dev/ .
- a developer who uses firefox 99% of the time
maybe if mozilla tried to compete, instead of all the irellevant activities they waste their energy on
you are lost.
I tried to phrase these questions without snark, but your comment genuinely surprised and confused me. Maybe I'm misunderstanding. I do see how OP's comment is a bit nonsensical in light of the author's Swedish origins, but I don't think this justifies your invocation of a term with such negative connotations.
You’re injecting dismissiveness, again a word with very negative connotation, at a simple mistake.
I would be more inclined to take your point if it wasn’t a cheerful, good-natured attempt at humor - nothing more.
Get a good UX guy to gain an edge over the current offerings.
To the point that it's banned at my job because we're too small to have lawyers on retainer to protect us if we use the LGPL version and do too few GUI jobs to justify the licensing model for the commercial version...
While its fine to create new languages and platforms, attention should be paid to the costs this will have on the developers that have to now support the new stuff as well as the old. One example I bring up is Gradle. The jump from Ant to Maven was huge. Maven was so much better than Ant that Ant basically disappeared from my purview. But when Gradle came out it was not so much better than Maven that is caused a sea-change in the Java community. Now I see a split. Some projects use Maven, some use Gradle. And some projects post their instructions in both. I have to become an expert in both. And I don't see this changing any time soon. So now the Java community has to pay this tax going forward. Its no one's fault. The intentions were good by the folks who created Gradle or who adopted it in their project. And projects do need competitors to keep them motivated. I offer no solutions here, only gripes.
The problem is testing M browsers against N web sites - M*N complexity with M tests being done by each website. It should be M browsers tested against a single conformance test, and some means of testing N websites against a conformance test. The web browsers compatibility should not be your problem. Once people start accommodating non-conformists there is NO incentive for them to conform.
To bring something really interesting: plain and simple C (not like the linux kernel gcc C dialect) with, if required, some assembly which do not abuse its macro preprocessor.
not good omens.
hopefully, jakt is written in plain and simple C...