- cross-posted to:
- technology@lemmy.world
- cross-posted to:
- technology@lemmy.world
As Firefox will introduce Manifest V3 which will make ad-blockers unusable, I hope they will not implement that as well … But I forsee this will not have any add-ons at all
AFAIK FF is implementing Manifest V3 so that those add on developers who are migrating to it don’t lose FF compatibility. As long as they don’t deprecate Manifest V2 for those that need it, ad blockers will continue to be usable.
Lets hope they stay true to their words and do not deprecate
Manifest V2
later, since firefox is an open source project, theoretically anyone could fork it and build this on their own, but I heard compile-times for firefox is long. And as complexity of the web increases maintaining your own forked web browser will become harder and harder. That is why projects like Ladybird are important imo.As more and more webpages do not support firefox anymore (Notion did not work for me today) the web will become unusable in a dystopian Manifest-V3 only future.
Stop spreading lies. Firefox will not deprecate the APIs that enable adblocking..
Wasn’t this the transphobic one?
Brave?
Don’t believe they’re related
Brave is the one run by transphobes who also love crypto.
Shoutout to the user pointing out that forcing “he” is just as, if not more, political ❤️
Changing to gender neutral seems like a no brainer to me but how is this transphobia?
i like how they’re like this isnt the place for personal politics while ignoring the fact that gendered readme files are patently stupid in the first place.
builds a new browser from scratch without borrowing existing code
still chooses to do it in C++
Epic fail
The dev has 30 years of experience with c++ and a lot of it was on browsers.
He tried to incorporate rust with the help of “JT”, one of the original rust designers/devs and it didn’t work that well due to the web being too objet oriented or something like that. They both worked together (well, mostly “JT”) to create a new safe programming language called “yakt” that transpile to c++, but the project is currently pretty much dead because nobody is really working on it anymore.
The web being too object oriented for rust? Assuming that made sense, who wrote the dang language? If that’s true I’m even less confident they know what they’re doing then I was before.
You’re doubting someone’s ability to create a web browser knowing that they specialize in browser development since the early 2000s?
If this isn’t enough to have confidence in them then nothing will.
Using my decades of experience in how programming and compilers works and the fact Mozilla has used it to great effect and how it is being used for parts of the Linux kernel… Yeah just a general statement it doesn’t make any sense.
Maybe they aren’t effective at designing software with the paradigms of the language or they don’t like it but the given explanation doesn’t track.
I am pretty sure it was about how it was difficult for them to do oop with rust, but I reckon it was long ago and my programming knowledge is minimal.
Found it:
https://rl.rootdo.com/r/rust/comments/yuxb8a/serenityos_author_rust_is_a_neat_language_but
I vaguely remember the talk about needing oop for the web being on discord and not twitter, so the twitter post is likely a reaction that.
Reading all of that it sounds mostly like a dev who has spent 20 years doing things the C++ way wasn’t comfortable learning something new. Like basically they’ve been using horrible design patterns that Rust bans because they’re horrible, and instead of learning better approaches they just say Rust is bad
So someone who wrote their own functional operating system and browser from scratch which he is now targeting the public with, is not comfortable learning something new?
You are all assuming that the project will be c++ only when the authors haven’t said anything about the matter. Who knows if they aren’t open to moving to rust? The project is originally in c++, not only but, because that’s what the target OS supported. There are examples of other browser moving from c++ to rust (Firefox) who says they can’t do the same?
It could be. But then again, he did have the help of a Rust designer/core dev. I believe they even wrote the first iteration of the “Jakt” compiler in Rust before rewriting it in Jakt itself, so Andreas isn’t against using Rust.
I’m not sure 10 years old are allowed on the internet. Isn’t it time for Coco and bed?
I agree that Rust would be an interesting choice for this project but there’s a reason why this particular project is done in C++
there’s a reason
Oh good that settles it, no further questions your honour
I wouldn’t go around accusing people of being 10 years old when your English skills are worse than a 10 year old’s. Glass houses and all that.
English is not my first language. I saw the mistake and left it here. You fixated on that simple mistake instead of answering the main point
Your main (or at least first) point was to throw childish insults around, so you got the same in return
Let’s be honest, we both were childish :)
Rust or bust
Then build a browser in rust…
Servo exists
That’s a web rendering engine, not a web browser application. You need a lot of stuff other than the engine to make a browser.
The engine is where like 95% of the complexity lies though. Maybe more.
The language choice was because Ladybird started as a component of SerenityOS, which is also written in C++. With this separation, they are free to gradually introduce other language(s) into the codebase, and maybe eventually replace C++ entirely, piece by piece.
In Hackernews thread about this, the head maintainer mentioned that they have been evaluating several languages already, so we’ll see what the future brings.
In the meantime, let’s try to be mature about it, what do you say?
Not sure if you are trying to be funny, but if not: enlighten us?
C++ is a very old, extremely complex language. There are arguably objectively better modern alternatives, such as Rust.
I agree that Rust is the way to go, but calling something “arguably” & “objectively” in the same breath is a bit of a paradox innit?
Well, it was more to recognize that there is no inherently better programming languages in theory, they all do the same stuff. And some languages are “better” at some stuff just due to the libraries available and nothing to do with the language itself. But yea I do think Rust is an objectively better language than C++.
Rust is great, but anybody developing something should have the ability to choose whatever programming language they prefer. If you want it made with rust, make it yourself.
If were just a personal project that they’re building entirely on their own then sure, go nuts and do whatever you want. But they’re trying to gain adoption, asking for contribution, and wanting to replace other browsers. At that point it’s no longer just a personal choice if you’re asking the community to invest their time and money into it with you
It originally started as just a fun side project.
But even if it hadn’t, are you suggesting we should no longer start big/community projects in C++?Picking an unsafe language has the added benefit of distancing yourself from the toxic rust-or-die crowd, who can’t seem to mind their own damn business.
Of course, but it still makes sense to think carefully about the advantages of disadvantages of the tools you use when starting any project.
What makes you think they didn’t? Didn’t take you long to label it as “epic fail”.
I am not the one who said “epic fail”.
Not everyone with the knowledge to identify this mistake is in a position to personally correct it. Do you have the time and resources to personally build a browser from scratch? No? Why do you assume a random commenter does?
It doesn’t change the fact that Rust is similarly performant and much safer and will thus be faster to develop and less bug-prone. It’s not a difficult assessment to make. If you want to explain why they’re wrong you can talk about the issue on its merits, but you didn’t choose to, presumably because you can’t.
Their choice of programming language isn’t a ‘mistake’. It isn’t something that is ‘corrected’. It’s a development choice, nothing more. That’s the point. And if some ‘random commenter’ doesn’t like that choice, that’s their problem to fix - not the developers who are actually making the project.
You said they “should have the ability to choose whatever programming language they prefer”. I have good news for you.
You have correctly identified that the developers are responsible for their own decisions. They are, you will be very relieved to hear, quite free to make as many poor decisions as they will. Nobody is going to force them to stop.
Other people are more than capable of identifying that those decisions are mistakes. Now, that could be argued with, you could explain how it’s not a mistake.
But you haven’t. You just said they should be allowed to do it, but nobody was arguing that they needed to be stopped, just that it was a bad decision.
I just don’t think it’s fair to tell somebody with over 20 years of experience with C++ that their decision to use C++ in their next project is a ‘fail’.
Learning a new language will probably not be faster than using one you’re already deeply familiar with.
I’m not sure why you’re asking me about the merits of C++ over rust, that wasn’t my point. I was simply advocating for personal choice.
Also, my first sentence was literally praising rust, but I guess I didn’t deepthroat it enough for you to notice? Presumably because you’ve taken the thought of somebody advocating for anything other than rust as a personal attack.
Taken from the wikipedia page on rust:
On February 8, 2021, the formation of the Rust Foundation was announced by its five founding companies (AWS, Huawei, Google, Microsoft, and Mozilla).[36][37] In a blog post published on April 6, 2021, Google announced support for Rust within the Android Open Source Project as an alternative to C/C++.[38]
Four out of five founding companies are evil to the bone, with only Mozilla being somewhat reputable. That does not give me much confidence, sadly.
On November 22, 2021, the Moderation Team, which was responsible for enforcing community standards and the Code of Conduct, announced their resignation “in protest of the Core Team placing themselves unaccountable to anyone but themselves[39]”
How am I not surprised?
In May 2022, the Rust Core Team, other lead programmers, and certain members of the Rust Foundation board implemented governance reforms in response to the incident.[40]
At least that. However, I don’t care enough for the time being to spend my morning on reading what exactly they implemented.
The Rust Foundation very deliberately does not control the development of Rust. There has been issues with the moderation team in the past but I think they’re actually resolved today. And let me just assure you that Rust is not the only language project with problems and the fact that they have been talked about and discussed in the open and resolved is a sign of maturity and trust, not a bad thing.
I suppose there are problems in many teams, yes - the majority of humanity is just not mature enough to treat each other professionally :/
Still - 4 out of the 5 founding companies being pure evil does not fill me with confidence :/
The language existed long before the foundation. The foundation is purely there to support the language.
Sure :)
There are a lot of downsides of C++ compared to more modern languages that make it not a great choice if you’re starting a web browser from scratch
- Complexity of the language leading to increased bugs and slower development
- Manual memory management is error-prone and leads to issues like memory leaks or segmentation faults. Modern browsers need to handle large amounts of dynamic content, making memory management complicated
- C++ lacks some of the built-in safety features of more modern languages, which has led to the majority of security vulnerabilities found in major browsers. It’s so bad that Mozilla invented an entirely new programming language just to deal with this
- Compared to higher-level languages, C++ can be slower to develop in, which may impact the ability to quickly implement new web standards or features unless you have a massive team
- While C++ is cross-platform, ensuring consistent behavior across different operating systems can be more challenging than with some other languages.
- Newer languages often provide built-in support for concurrent programming, garbage collection, and other features useful for browser development, which C++ lacks.
So tl;dr: a browser but in C++ will take much longer to develop, have fewer features, more bugs, less concurrency and and more security vulnerabilities
Thanks for laying out your concerns. As a C++ developer who does not know the other languages you speak of (I assume Rust, Go), I can agree to some of your points, but also some of them I see differently:
-
C++ can be complex, because it has a lot of features and especially the newer standards have brought some syntax that is hard to understand or read at times. However, those elements are not frequently used, or if they are, the developer will get used to them quickly & they won’t make development slow. As a matter of fact, most development time should be spent on thinking about algorithms, and thinking very well before implementing them - and until implementation, the language does not matter. I do not think that language complexity leads to increased bugs per se. My biggest project is just short of 40k lines of code, and most of the bugs I produced were the classical “off by one” or missing range checks, bugs that you can just as well produce in other languages.
-
C++ no longer requires you to do manual memory management - that is what smart pointers are for, and RAII-programming.
-
I can’t make a qualified comment on that, due to lack of expertise - you might be right.
-
You’re somewhat repeating point 1) here with slow development. But you raise a good point: web standards have become insane in terms of quantity and interface sizes. Everyone and their dog wants to reinvent the wheel. That in itself requires a very large team to support I would say. As stated for point 1), I do not agree development in C++ has to be slower
-
True, as someone who just suffered from problems introduced on windows (cygwin POSIX message queues implementation got broken by Win10, and inotify does not work on Windows Subsystem for Linux) I can confirm that while the C++ standard library is not much of a problem, the moment you interface with the host OS, you leave the standard realm and it becomes “zombieland”. Also, for some reason, the realtime library implementation on MacOS is different, breaking some very simple time-based functions. So yeah, that’s annoying to circumvent, but can be done by creating platform specific wrapper libraries that create a uniform API. For other languages, it appears this is done by the compilers, which is probably better - meaning the I/O operations got taken into those language’s core features
-
I am highly doubtful of people relying on garbage collection - a programmer that doesn’t know exactly when his objects come into existence, and when they cease to exist is likely to make much bigger mistakes and produce very inefficient code. The aforementioned smart pointers in C++ solve this issue: object lifetime is the scope of the smart pointer declaration, and for shared pointers, object lifetime expires when the last process using it leaves the scope in which it is declared. For concurrent programming, I do not know if you mean concurrency (threads) or multiple people working on the same project. While multi-threading can be a bit “weird” at first, you have a lot of control over shared variables and memory barriers in C++ that might enable a team to produce a browser that is much faster, which I believe is a core requirement towards modern browsers
As for your tl;dr: definitely not “less concurrency”, that makes no sense. The other points may or may not be true, keeping in mind the answers I gave above.
Appreciate you taking the time to reply in such detail! Some good insights thank you
You had some valid points as well - I enjoy a good constructive exchange, thank you! :)
-
Funny how in the video the guy say that all other browsers are based on Google’s code. But Firefox is also independent right?
He says “powered by or funded by Google”. Firefox depends on Google financially, most of the income of Mozilla comes from Google paying for being the default search engine.
They try to diversify their income (Firefox VPN, email alias service, etc.), but anything they try gets a huge backlash from the community, and still small compared to the the money from google.
Is this their way of asking Google for money?
I think google need firefox exist to avoid anti trust, and Mozilla need google to keep the the six figures payroll for the CEO. So yes.
Firefox gets tons of funding from Google, and their code is quite frankly humongous. From what I understand, it’s extremely hard to get the gecko web view engine to work. In another browser, unless it’s a fork of Firefox, unlike Chromium where you can just redesign an entire browser around it.
Neither Chromium nor Gecko have a stable public API. Companies are just willing to spend money rebasing every Chromium update.
Google is Mozilla’s biggest source of income, and google developers have actively contributed code to the Firefox engine.
So you decide for yourself what level of independence you assign to it.
Remind me in 2 years when this project becomes discontinued…
Kudos to them. Opera gave up on this dream being unable to accommodate all the nuances of web standards and accounting for out of conformance behaviours that many websites rely on the daily.
I reckon this browser will need to be at least on par with reasonably recent version of Firefox to see significant adoption.
I still mourn the death of Presto-days Opera.
I do too. What a joke the browser became after moving to Chromium… I remember it didn’t even have bookmarks in the first version.
On the flip side I kind of understand the decision to pull the plug - if you’ve looked at
Browser.js
and think that potentially any site might need a fix to work properly…
Is it true that there is no truly independent web browser or are there others?
Good luck!
They’re making a new browser engine from scratch in an open way, absolutely amazing!
I do have several questions:
Why would they use BSD instead of GPL? If you care about open-source so much, why would you make it possible for a company to run away with your fancy new engine?
Why are they creating a new browser, when even firefox has to struggle to keep some semblance of market share? I get that not every project needs to aim to be “the biggest”, and that even a smaller project (in terms of users), can be fun. It’s just that writing a browser engine that can handle the modern web seems like an almost Sisyphean task; which makes me wonder what their motivation(?) is.
Why the FLOSS are they using closed-source proprietary discord as their main communication channel?
As someone who uses BSD licensed modified code at work and relies on it quite a lot, it’s crucial to me choosing which projects I’m able to use in the first place.
Personally, I prefer a license that allows for commercial use in the way that companies need them to, and if my own work ever can provide a patch back upstream I’d be happy to do so, but most of what I do is just tweaking things that exist to suit my purposes which doesn’t really help anyone but my business rivals which I personally am not interested in doing if I don’t have to.
I prefer to have the freedom to do as I wish with the code, as compared to being bound to do as the author wishes and essentially just not using that code in the first place because I can’t. I’m not in a position to change what I can and can’t do because of the requirements of the business I work for, and I’m grateful to those that choose licenses that allow me to use their work.
They’re creating a new browser because they want to. It started as an OS building project that the lead dev did to help stay sober.
They use discord because it’s popular. Insert Ouroborus argument here, and at the end of the day it’s still the most popular app.
They use discord because it’s popular. Insert Ouroborus argument here, and at the end of the day it’s still the most popular app.
Using this logic why shouldn’t I just download chrome and forget this project exists?
Depending on your use case, maybe you should. If your use case is “using the internet today securely”, then you definitely should.
I’m not trying to create a logical puzzle that teasing the right details out of will solve, I’m not even advocating for or against their decision, discord fuckin sucks shit and I can’t wait for element to continue to mature towards enough feature parity that a switch is seamless so that I can actually convince my friends to switch too, I’m reporting a reality of life on the internet today.
- (BSD vs GPL) Andreas stated on twitter that he wanted to give devs total freedom to use his work because when he worked at Apple he felt frustrated he couldn’t incorporate some code/software into his work because of GPL.
- (Why?) The aim is not to create a chrome competitor, but to make a good enough, truly free browser that isn’t either chrome or funded by chrome. A browser made for and by its user’s.
- (Discord) Because of gen-z.
Love the idea! Shopify as the highest tier sponsor? Not so much.
I’m curious what issue you see with that? It seems like the project is only accepting unrestricted donations, but is there something suspicious about shopify that makes it’s involvement concerning (I don’t know much about them)?
My best guess would be that Shopify either care about the open Web or had some disagreements with Google.
I can’t find anything shady on them, but maybe I’m looking the wrong places.
They fired a lot of people and replaced them with AI: https://techcrunch.com/2023/05/04/how-shopify-bungled-its-latest-layoffs-and-made-employees-feel-like-npcs/
While controversial, I think it’s more a product of how insane US “politics” are.
They could be good guys even so.
Why? Shopify has been sponsoring stuff like community gaming events for a few years now.
I mean if they’re gonna give money without demanding anything I’m sure no complaints from the devs.
Shopify or an exec there might find some value in avoiding Google owning the web, could maybe bring goodwill for the company, or they could just be looking for a write off.
I want to follow updates from this project. They have a Twitter account but not Mastodon sigh
RSS is not even enabled on the Newz page on the website.
I share the disappointment.
I found they have a newsletter, that sounds like an acceptable middle ground, not good, not terrible.
Im glad to see this. Discord is a nightmare. It’s the same as a Facebook only group to me.
I agree, but (hot take) I think that Discord is even worse than Facebook.
The website makes it sound like all of the code being bespoke and “based on standards” is some kind of huge advantage but all I see is a Herculean undertaking with too few engineers and too many standards.
W3C lists 1138 separate standards currently, so if each of their three engineers implements one discrete standard every day, with no breaks/weekends/holidays, then having an alpha available that adheres to all 2024 web standards should be possible by 2026?
This is obviously also without testing but these guys are serious, senior engineers, so their code will be perfect on the first try, right?
Love the passion though, can’t wait to see how this project plays out.
Sure, but an individual website may use only a few of those standards. Ladybird devs will pick a website they like to use - Reddit, Twitter, Twinings tea, etc. and improve adherence to X or Y standards to make that one website look better. In turn, thousands of websites suddenly work perfectly, and many others work better than before.
Ladybird is largely conformant to the majority of HTML standards now. It’s about the edge cases (and where standards aren’t followed by websites) and performance. This isn’t a new project.
Lol, mentioning Twinings tea together with Reddit and Twitter sounds so random
Andreas Kling, the founder and lead dev, has a massive love for Twinings tea and spent a few Dev logs working on improving their website with the end goal being ordering his tea from them :)
That is a nice little tidbit of information :)
Wait, 1138? If there are any Star Wars fans in there, there won’t be more.
They’ve been at it for four years and they plan to have an alpha by 2026. Maybe wait how it actually turns out?
Let’s not do zomething because it’s hard pretty much sums up every new generation.
Imagine if they said that when they had to program everything in assembly…
Software nowadays is a lot more complex. You’d get nowhere using assembly. Are you also gonna call me lazy if I say making a smartphone from scratch is complicated? “But the Nokia 1234 only had 4kb of memory” Is what you will probably say.
You’d get nowhere using assembly because people wanted to keep improving technology.
The Nokia was actually build and freakin’ rock solid. Then came smartphones because people wanted to improve. It sure wasn’t easy and they didn’t go Geez, a phone from scratch? Why bother?
a Herculean undertaking with too few engineers and too many standards
Yeah, as a layperson this is my take. If mozilla is struggling to stay in the game then I just don’t really see how an unfinanced indie team has a shot.
Mozilla has loads of projects, not just the browser. I doubt more than a 30 work exclusively on the engine nowadays.
Even if that were true, and it seems unlikely, that’s still an order of magnitude more than the ladybug devs.
Let’s not forget that Mozilla (the company) is largely mismanaged, so that doesn’t help.
It might seem that way but it’s a fairly arrogant assertion. They’re a sophisticated organisation with a lot of well experienced people guiding them. As an outsider it’s easy to criticise their seemingly endless series of bad decisions, but I’m still confident that internally all of these decisions seemed like a good idea at the time.
Besides which, this would be a good reason to fork their codebase rather than starting from scratch.
W3C lists 1138 separate standards currently, so if each of their three engineers implements one discrete standard every day, with no breaks/weekends/holidays, then having an alpha available that adheres to all 2024 web standards should be possible by 2026?
Yes, that is exactly the plan: “We are targeting Summer 2026 for a first Alpha version”
You are assuming that they only started now from point 0. They have probably been working on it for a bit before announcing everything.
They say they already use it to manage GitHub issues so it’s definitely more than “point 0” right now.
Exactly. They have been working on Ladybird Browser for few years already, before it was announced as standalone product (It was a part of SerenityOS).
And it passes the Acid3 test, which is more than Firefox does.
It’s hard to understand the purpose of this. The difficulty of the project (i.e. complexity of the web) is the real problem that needs solving. We don’t need another fork of the browser-verse. We need a fork of the web itself.
Considering how much Google has entrenched itself into the Internet (see manifest v3 fiasco), I would argue that creating a new browser is a fork of the web
They have a fork of the web. Its called the dark web. They use it to sell hookers and drugs.
We also have a fork of money, it’s called crypto and it’s used to sell and buy hookers and drugs. Every fork of something end up used to buy hookers and drugs. Truly marvelous!
It’s also used to buy baking pans, dove soap, coffee makers, and toasters. Xmrbazaar.com
Uhhhhhhhhhh
How many of those listings are code for something?
I mean…yes?
The project management may have some obvious problems (jOin dIsc0Rd sErVEr; w0rD “thEy” t0o p0liTicAl). But we really need an alternative to browsers funded by Google (Chrome and Firefox).
So I’ll do my best to actually build from sources and see what can I help with. Attacking the author is helping nobody.
And for the folks who are saying “wHy n0t rUst”, you can always show me the (rust) code.
And for the folks who are saying “wHy n0t rUst”, you can always show me the (rust) code.
https://github.com/servo/servo
I really wish they would publish flatpaks because I can’t be arsed to either build the thing or get a non-standard precompiled binary to run on nixos.
Well, thank you for pointing me to this project. Didn’t know about it. I’ve just built it. So, the part of I’ll do my best to see what can I help with applies here to.
Servo already exists and is independent and written in a modern language and way ahead of this.
I mean, competition is good but they aren’t the only independent browser engine.