by awesomekling · 2y ago · 0 comments
Here's a short video from Chris Wanstrath announcing our non-profit yesterday, and kicking things off with a $1M donation: https://www.youtube.com/watch?v=k9edTqPMX_k
Happy to answer questions :)
Of course, it has a long way to go before it is going to be a good daily driver, but I truly believe this is the beginning of something great. I've been consistently surprised by what works, and the rate of improvement is staggering at times.
My question: Has anyone given any thoughts regarding the stance to take with DRM features, e.g. Widevine/Encrypted Media Extensions? It seems like since our previous stewards of the open web didn't care enough, now making a browser with substantial marketshare without this may be hard. Seems like a hard problem, I really do wonder where Ladybird will stand if it continues on its current lightning fast trajectory.
I don't think it should have to be in the browser. I would like the option to watch the content. I know the while process of DRM is stupid and will be side stepped somewhere.
From my point of view, putting DRM into web browsers is actively bad for a couple of reasons beyond the usual arguments against DRM. The greatest asset the web platform has is that it's a unified, open platform that anyone can participate in; Of course, DRM harms users too, but specifically DRM harms the web as a platform. You can't simply have a "full" web browser that can browse the entirety of the web (as ordinary users understand it) without licensing Widevine. To date, only large corporate web browsers have ever gotten this privilege[1]; community web browsers are shit out of luck, almost certainly forever. Not only that, but Widevine will only officially support a small subset of the operating systems that are out there, ensuring that you can't get a "full" web browsing experience on, for example, any BSD (at least not without manual work and violating several license agreements on the way.) Even if Ladybird bucks the trend and manages to get a Widevine license somehow, it will only be possible to make this work on Windows, Linux and macOS. Yes, I understand this covers the vast majority of users, but if you can't see how this is extraordinarily antithetical to the open web I don't really know what else to say. The web didn't even begin on any of those platforms!
Of course, I seriously can't blame Ladybird if they want to go this route. After all, in the position that Ladybird is in, pragmatism is a stance that is hard to beat. Ladybird currently doesn't have the muscle to flex to try to influence the future of the web platform in such a way, especially not against the will of the mega-corp overlords that currently control the web platform.
If I had to guess, I'd guess the lack of an answer to my question is because taking the pragmatic stance on this particular issue will prove controversial, though I hope if that is the case that people continue to direct their ire towards W3C and Mozilla who pretty much immediately folded when the issue came up in the first place. In the moment when Flash and Silverlight died, there was a small sliver of hope that DRM on the web would die with it, but instead we wove DRM directly into the fabric of the web, and Mozilla, no doubt afraid to watch their marketshare dwindle even further, (which it has continued to do anyways, mind you,) played a huge part in that.
Issues like this are why there is guaranteed to be vile toxicity when something like WEI comes up. We know that there is no entity out there holding the line to protect the web platform; once one of these technologies like WEI makes it into Chrome, the era of the open web will have essentially ended. If you believe that the open web is important, then any technology that's vaguely WEI shaped is enemy #1, and when there is no other option, people will choose violence, again and again. DRM on the web isn't really quite as dire of a situation, but it isn't particularly great either.
(One might wonder what the point of keeping DRM out of the browser is, forcing users to use separate software, making their overall experience worse... but that's kind of the thing: Why in the fuck should these vendors and this DRM'd content, that is antithetical to the open web, get to benefit from the web platform built and used mostly by people who stand to gain nothing from it? If you want the benefit of the web platform and all it offers, you should be forced to lose the DRM. Otherwise, have fun deploying your own native software.)
All the content behind it is still available day 0 on trackers
A web browser is a user agent. Why is the browser deciding anything one way or another? Let the user decide by providing options one way or another. If the user wants DRM access, let them; why is it the browser's business?
Again, the two important words: User agent.
The freedom to decide and choose is what helped Firefox take out IE6 and led to most subsequent browsers featuring some form or another of extensibility (which incidentally is now regressing because web browsers are increasingly developer and publisher agents).
I think you answered this yourself.
But with the updates, it wild to see progress moving steady but impressively. And the last year - wow! With all the donations, there is now a path towards a real viable alternative rather than something that looses interest as contributors lives get in the way.
I love that you are no over promising and have provided a reasonable time line, it is the kind of restraint that typically gets things done rather than promising the world up front. I love it and look forward to where this goes from here and it could end up in some very odd places.
If in 2001 you where to say that KHTML would be the core base of the majority of web browsers in 15 years, you would have been a great joke. And look at what happened. The big thing is to keep a Richard Stallman like resolve to do what is right for the people, even if it means a little less personal success.
Be well.
First, thanks for this project and making your self accessible!
Will "plug-in" or "add-on" support be a first-party concept in Ladybird?
I ask that because in years past a few other browsers (Konqueror, Falkon, Dillo, etc) made it pretty far but lacking add-ons, useful capability such as 'NoScript' or 'uBlock' or even a tab manager made them non-starters.
Plus there are plugins for dillo... https://dillo-browser.github.io/#plugins
The endless security nightmare that was ActiveX and NPAPI should serve as more than enough reason why that shouldn't be a thing again.
"Installed manually not from app store" is even worse because then you're encouraging people to download random binaries from random websites and that's even worse
My point is not for other people to make extensions that you must use. Rather, my point is in case the user wants to write their own extensions do things that have more permissions, without needing to recompile everything. It is specifically if the user does not want the extra security (because they intend to program it to do things beyond that provided by the browser's security context), and only for that case.
(However, there might be another alternative: Provide a .a file (in case do not intend to compile it by yourself, which might take some time and require several dependencies) and allow the end user to link that file together with their own .o files, instead of using .so files. The constructor functions can be used to tell the main program of the presence of these extensions.)
(Another alternative would be to provide a separate version that may permit this, e.g. "advanced version", that might also offer additional options and other features which are intended to only be used by advanced users, therefore making the user interface more confusing for users who do not read the documentation.)
C (and other programming languages) that is compiled to WASM could be installable from the app store, since then it is safe. Native code extensions must be installed manually.
Just my opinion.
That said, Ladybird is obviously far from becoming the daily driver for the average webizen. What do you think is going to be the first milestone where Ladybird is going to be able to be a real alternative (even if limited to certain use cases) and in what timeframe do you think this can be accomplished?
Also, do you already have any plans or ideas for how to improve the web browsing experience beyond what existing browsers provide or is your focus entirely on the engine catching up for now?
At the moment, we are focusing primarily on our own use cases as developers, since those are the easiest to test and qualify. So websites like GitHub, web specifications, MDN, etc. are likely going to be very high fidelity before other parts of the web catch up ;)
> Also, do you already have any plans or ideas for how to improve the web browsing experience beyond what existing browsers provide or is your focus entirely on the engine catching up for now?
We are definitely focused on the engine catching up right now. There is an incredible amount of work to do, and we're doing the best we can :)
Well the impossibility isn't so much in making a browser but making a browser that manages to get a chunk of web audience.
That means presence on mobile, feature and performance parity with Chrome, surprasing Chrome on some level (e.g. Safari having better vendor lock-in).
According to Hacker News readers, the ladybird shouldn't be able to compete in the browser space. It's too difficult, the spec is too large, its competitors have large pockets. The ladybird tries anyway, because ladybirds don't care about what HN readers think.
Inspired by https://www.goodreads.com/quotes/823379-according-to-all-kno...
Also, any thoughts on having official communication channels on some open, freedom-respecting platforms, rather than Discord only?
And we're perfectly happy using proprietary services like GitHub and Discord as long as they make our work easier and more enjoyable. We recently evaluated a number of alternatives, and found that they all introduced more friction than we were comfortable with.
Although the task of building a browser is itself challenging, we're a pragmatic project :)
Hey, just a reality check: in the event that you actually do become wildly successful, this means that others (Google, Microsoft, etc.) will be able to fork the browser and then develop it faster than you - thus leaving you behind and taking away your users! Would highly recommend leaving yourself some mechanism to prevent that, unless you're really okay with the project defeating itself through its own success.
If someone forks our code and does a better job with it than we do, fair game. :)
1. All the BSDs have been out there for decades without anyone running with it.
2. Google and Microsoft - while being a shadow of their former selves technically - are probably still very capable of reimplementing whatever they want.
3. If Ladybird gets so wildly popular, lets celebrate wildly!
It's rather condescending of you to assume that the developers of Ladybird aren't fully aware of the consequences that their choice of license entails.
Slow computing it's sometimes called [0]
I sometimes experience some friction (really acceptable though) on Firefox, it has never lured me to Edge of Chrome. Some people have standards you know ;)
So, that fetish for infinite growth... can we get rid of it?
Firefox keeps trying to grow in various directions and look where it's taking them.
License "permissiveness" is a relative concept. From the point of view of the users of your software, the GPL is more permissive than MIT, since they have permission to see the source code. If you release software under MIT or BSD licenses, you allow middlemen to strip this right to users of your software.
That's not true.
Somebody can take the source code and build something closed on top of it, but the original code will be already free, and you will always have the right to see it.
For example, PlayStation OS is based on FreeBSD (AFAIK). They took it, adapted it and added a lot of stuff. Did you lose the right to see the source code of FreeBSD ? No. Can you see the source code of PlayStation OS ? No, but you never had that right, so you have not been stripped of anything.
No you don't. You're being extremely disingenuous with this phrasing. No matter how many other parties take the source code and make a closed source product out of it, the users of your software will always have the same rights you granted them to begin with. No freedom has been lost.
And before you say "but your users won't have the same rights to the derivative works", that isn't a loss of freedom. They never had those rights to begin with, therefore they cannot lose them. Not gaining something is not the same as losing it.
Permissive licenses doesn't grants you less freedom than GPL, infact it grants you more because the user also has the freedom to modify source code without being enforced to make it public.
Companies copying the codebase to their propietary ones won't automatically strip right of users, licenses don't work like that, the original codebase will still be fine. Whether said companies will contribute back is irrelevant.
I know that’s not what you meant, but it is what you said.
https://gavinhoward.com/2023/12/is-source-available-really-t...
Github I can understand to some extent, it's a convenient temporary staying place until they can afford, community-wise, to move to something truly open, but Discord? In this day and age?
Discord IS the platform of this day and age, what the hell are you talking about? You might not like Discord for whatever reasons, but trying to make it sound outdated or legacy is very weird sounding.
There was a hype for discord about 5 years ago for EVERYTHING - discord servers were made for every little thing and there was little to no objection about it.
But in recent times, I have seen many people complain about the lack of searchability, discussion-thread management, and other stuff in Discord and moving away to forums, especially for software projects. There is definitely a lot more disgruntlement with Discord today, so their statement makes sense.
It is a non-starter.
What’s your recommended alternative?
(However, GitHub is accessible by git in case you only want to download the repository, regardless of what else they do; however, having multiple mirrors on other services as well can be helpful)
So he knows that corporations can take open source browsers and make it proprietary.
This immediately comes to mind as akin to the Signal vis-a-vis WhatsApp etc. Here there is an obvious reason to use Signal and a well-understood proposition. What might it be for Ladybird? And how will you differentiate?
That said, I do think we'll find ways to differentiate given our uncommon situation with no ties to the advertising industry. This gives us the ability to experiment with privacy measures more aggressive than others may be comfortable with for fear of losing funding, for example.
Our own approach to privacy is as radical as it gets in search: "No Tracking, Just Search". As we often say: tracking, not ads, is the fundamental problem. Contextual ads do not need necessarily to have tracking. Though the duopoly of search ad networks makes that a hard road too.
Good luck. Excited to see how Ladybird progresses.
Servo wants to build an embeddable engine for controlled sets of HTML/CSS/JS content, with a focus on modularity and parallelism.
Ladybird wants to build a usable browser for the open web, warts and all, with a focus on compatibility and correctness.
I'm a big fan of Servo and I hope they become a huge success! Competition and new ideas in browser engines will benefit all of us! :)
That’s what they pivoted to after being expelled from Mozilla, but that wasn’t the original goal, was it? It’s the safer(?) one they turned to when the job security evaporated.
(Not sure if that changes anything, just feel obligated to point out the retcon here.)
They always aimed for a better embeddable story than Gecko. That and more parallelism in layout and processing.
> It’s the safer(?) one they turned to when the job security evaporated.
Not safer, more like saner multithreading story. Safe rust isn't so much for security as it is safety in a parallel context.
If there is a difference between how specs define something, and how browsers behave (and website expect them to behave), will you choose technical correctness or websites actually functioning?
Technically this has been the big problem of HTML5 vs XHTML, and "technical correctness" lost to actual usability.
Firefox has often been forced to just conform to Chrome behaviour, despite differing specs, or because the spec was rejected/not agreed upon.
Are you planning on charging your users?
Though I don't fully understand why pulling funding for new browser technology was part of their strategy going forward. Servo was one of the projects that made me excited about using Firefox. I bet that big announcements about moving Firefox to Rust would have consistently bumped usage numbers. As much as people voice their opinions about the RiiR movement in the comments here, it's clear people love those kinds of projects just for the technical novelty. I know I do.
1. We keep the team small enough that there's always at least 1.5 years of runway in the bank.
2. We continue fundraising actively.
But I'm actually ok with a lot of the non-firefox projects that they have like the VPN.
What I do have an issue with is the foundation, throwing money away at various projects that have very little to do with making firefox better. From "trusworthy AI" research grants to giving 387k to the Mckensie Mack group or 375k to the New Venture Fund (I get Mozilla are lefties but what does this have to do with Firefox?) plus some other organizations that I can't even tell if they aren't just money laundering fronts as they don't appear to actually do anything.
That and the C-Suite being complete parasites. The CEO of Mozilla corp makes almost as much in a year as the Mozilla foundation makes from donations.
Remove the parasites and the senseless spending of the foundation and you could develop Firefox with the ~20% of revenue that doesn't come from Google.
We don't need another programming language.
Indeed, I doubt very much that Ladybird will get there.
What languages have prototypes and where can I learn more?
1. Legacy hardware support. Is it a goal for Ladybird to build for 32-bit and big-endian CPUs out of the repository?
2. Electron. Do you have any plans to work on an Electron alternative based on Ladybird further down the line? No free Electron alternative other than Sciter seems to use the same browser engine on all platforms. There may be value in one that implements the latest web standards.
2. No concrete plans, but it's not outside the realm of possibilities.
Sounds good. If it also makes it into Serenty OS eventually, it would suddenly make Serenety OS a lot more accessible and useful for way more people. But I think you are aware of this and also of the challenges.
Building a working browser is hard enough on its own.
Thanks again for your hard work!
This is definitely more than a hobby at this point. I already manage 3 employees, with 3 more joining in the next month!
No kidding... how about get it roughly working on hacker news, and make it the hackers way to start each day, and pull in as much help and community as possible from here?
Here’s hoping one day I can move to LadyBird and leave the others behind.
Bravo again.
Not trying to pry into your personal lives, just wondering because there's a lot of meaningful information behind the answers to those questions.
Given the limitations of our funding model, we won't be building a huge team, but rather a small team that allows us to maintain a runway of at least 1.5 years. :)
Edit: In Blink, the layer/compositing system extends to SVG elements inside SVG tags, as well, and in WebKit, it doesn’t yet, but there is an active years-long effort going back to 2019 that will eventually land: https://youtu.be/WxqJFxiprrU?si=dhQIgW1V4yS_Ca4s Compositing and using the GPU seems like a complex but important part of rendering in a browser, and a case where it could be good to implement the kind of system that other browsers have arrived at after years of iteration, when it comes time to do so.
Will the JS engine still be LibJS?
AFAIK there's some support for it already, but it has to be enabled explicitly with --enable-gpu-painting. I can confirm that with that switch Ladybird can do 3D CSS transforms (which don't work without it).
The JavaScript engine is our own LibJS, currently sitting at 94.3% pass rate on https://test262.fyi/ (although the number might be a little outdated, it's supposed to be higher! Need to investigate this..)
https://mozilla.github.io/standards-positions/
That's never gonna happen without substantial funding because a modern, remotely feature parity web browser is a gargantuan project even if every developer is a genius. Chromium and Firefox sit at 30 million/20 million lines of code respectively, modern web browsers are basically operating systems.
Mozilla doesn't rely on Google revenue because they love Google so much, they do so because they have hundreds of engineers to pay. A million dollars sounds like a lot but that pays for a handful of engineers for a year. That's not going to get you to 5% of Chromium or Firefox.
For example: the reddit AMA on firefox unofficial subreddit[1],the mozilla connect post on things they are working on[2]etc.
[1]:https://new.reddit.com/r/firefox/comments/1de7bu1/were_the_f... [2]:https://connect.mozilla.org/t5/discussions/here-s-what-we-re...
It seems to me that a large volume of code in Blink deals with obscure features with relatively niche use cases (such as WebRTC, WebUSB,WebGL, WebAudio and so on and so forth), which would mean a large amount of programmer effort for very little user-facing gain.
Additionally, in these areas, web standards tend to say 'whatever Chrome does', with FF often lifting large parts of Chrome code to support these features. Even if the above wasn't true, in practicality it is, since all clients are tested against Chrome, you'd need to follow all its quirks to have your browser be compatible.
Are you planning to do a clean room implementation of these features as well?
WebUSB is a lot more common than one might think, but I mostly see it used in music gear. Companies like Novation use WebUSB to facilitate firmware upgrades, backups, patch management, etc with their synthesizers and workstations.
Its pretty much a necessity for me at this point so that I can remain OS agnostic and still manage my gear.
I also have a personalized build step on our pre-production web app that launches the site in Ladybird for my host. It’s been awesome to see the browser lock in functionality along with our own progress.
Does Ladybird still follow that ideal?
Going forward, we want to support the open web as it exists, so you can actually use Ladybird to interact with all your websites. We may not agree that every web platform API is awesome and perfect, but we will honor the open standards to the best of our ability.
But please do consider putting up some screenshots of the browser - including how it renders the popular sites.
Over time, I expect them to diverge enough that this becomes impractical, as Ladybird now allows 3rd party code while SerenityOS does not. It’s up to the SerenityOS community how to handle this.
We benefit greatly from this of course, and we will do what we can to contribute when we’re mature enough!
That said, there will always be websites relying on bugs, and for that we will need a way to selectively emulate alternate behaviors in some cases. We are looking at a few different solutions for this but it’s not a huge priority right now as there are far lower hanging fruit in front of us.
Can't wait for the day I can drop Firefox and use Ladybird full time.
(or will you just use Chrome as a reference spec and implement anything it implements?)
Q2: what is your “guiding principle/mission”? Is it to be the fastest browser? The most privacy centric browser? The only 100% standards compliant browser? etc…
—-
Super excited for you. Wishing you the best in this and hope you change the world for the better.
Any browser that doesn’t display normal websites normally will never achieve mainstream usage. Who willingly handicaps their software?
(An older not as relevant one is http://acid3.acidtests.org/ )
Will you use Vulkan when it comes to gpu accel or OpenGL?
Will you make better adblocking capabilities by embedding faster checks and rule engines/lookups in c++ than what we have now?
How much can people who do not contribute code affect development? In terms of requests suggestions? E.g. if I would suggest to skip OpenGL and use Vulkan (so basically defining a limit on how old should the hw be), would this be even considered?
This could be key differentiator over other browsers.
edit: > Focus on building good APIs/extension points though, and those will be immensely useful whether for local LLMs.
I think we're saying the same thing, focus on good extension points for the local LLM use case.
Personally, I much prefer developing for the web than native so if there were APIs exclusive to Ladybird it might create a nice virtuous cycle of developers targeting Ladybird to do new things and users using Ladybird to try those new experiences.
There's probably a huge influx of people trying to get involved now, which probably really complicates and muddies the waters right now as well.
Either way, congrats!
The best for a beginner is usually to start with some simple page you made yourself, since you know how it’s supposed to work, and can debug more easily.
And come join us on Discord, there are new people getting into the codebase all the time :)
Best of luck!
By building a new engine, we can increase ecosystem diversity and put all these open standards to the test. We regularly find, report, and sometimes even fix bugs in the various web standards - stuff we find just by being the first to try and implement everything from scratch in a long time!
We also believe it’s good for the world to have more engines that aren’t directly or indirectly funded primarily by the advertising industry.
Here's a tweet with a couple of diagrams that illustrate how much control Google has over all browsers (including Firefox and Safari): https://x.com/awesomekling/status/1793937129250214344
Once we get the desktop version into decent shape, we will direct more attention to mobile platforms. At the moment there's just too much important low-hanging fruit that's easier to develop (and debug!) on desktop :)
* We're already making a top 5% income for our area and have more than enough for our needs and even an early retirement.
* We get non-monetary benefits from our job like WFH and/or flexible scheduling.
* We're working on projects that excite us and make us happy to go to work and that matters more than total comp.
Money aside, I'd rather see Ladybird hire 6 developers who are seriously passionate and live all across the world than see them hire 6 Bay Area developers who think they're better because they ask for more comp. That the passionate and global developers are cheaper is just a nice bonus.