39 comments

[ 3.3 ms ] story [ 68.4 ms ] thread
I'm not sure how impressed I should feel about saving 45 MiB these days.
That’s the wrong way to look at it. Improving the performance of a complex piece of software is not something you do in one fell swoop, or even in a dozen smaller steps. It’s a job of compounding many tiny single–digit percentages over years, and of carefully avoiding performance regressions.
Brave's adblocking engine is a neat example of open source and the ease of sharing lbraries in Rust. It uses Servo crates (also used by Firefox) to parse CSS and evaluate selectors, and is then itself published as a crate on crates.io where it can be pulled in by others who may want to use it.
Is that 45 MiB per-tab? People are laughing it off, but since each tab is a process these days..
Those may be forked copies of the main adblocker process. If so, you'll get the benefit of CoW page deduplication.
I hope that this is the start of developers being conscious of using resources efficiently again, especially in the browser.

The more rust gets written, the better AI will be able to write it for people... I like to be optimistic.

Funny that the iOS update notes don't mention this at all:

> in this release:

> Other enhancements, stability improvements, and security updates

No mention of efficiency, or adblocking whatsoever!

Does Brave actually block ads now? Or does it still replace them with ads for scanmy cryptocurrency?
It's incredible how people can hallucinate nonsense like this out of nothing, simply because their hatred for Brendan Eich drives them insane.
I am surprised there does not exist a community fork of Brave yet that strips out all of the commercial stuff (rewards, AI, own updates), making it suitable for inclusion in the repos of mainstream free/libre Linux distros.
This. I use Brave because it has a great, fast adblocker and is fast generally. Unticking all the wallet/AI crap upon install is an acceptable price, but if somebody is going to release Braveium I'm going to use it right away.
You can disable all of that within seconds. There's no reason for it not to be included because of that, as all the code running on the client is open-source. If distros only shipped software without commercial interests (why even..?), it'd be an unusable mess of barely maintained hobby projects.

And you should really be using https://flathub.org/en/apps/com.brave.Browser

Is Brave still a front for a cryptocurrency pump-and-dump scheme?
I like Brave but the only thing that keeps me from using it on mobile is the lack of extension. That's why Firefox is my daily driver on Android
I am curious to know what was the contribution of switching to FlatBuffers in that improvement.
Well brave still uses 300MB per tab on linux and almost 700MB per tab on Windows. So they do have a long way in front of them.
Is Brave actually a good browser now? Did they rewrite it or something? Last time I looked it was a janky JavaScript mess.
It's better Chrome: no ads, faster (because no ads), some nice features on top. What's not to like?
Brave also installed a VPN an a VPN service without permission on my Windows machine, and then didn’t disable or remove 3 separate scheduled tasks in Windows Scheduler once I’d uninstalled it. The VPN issue was open for like 8+ months on GitHub too - and at first they denied doing it at all. For all I know it still installs it, but I removed this malware-type shit when this all happened so I couldn’t tell you.

I’ll never trust them again after that.

(comment deleted)
I haven't seen an ad nor in iOS nor in Mac since I installed brave. The browser, for me , works perfect
The number of journalists in the US has dropped by something like 80% in the last 20 years. But sure, enjoy your ad free experience!
What were you using before that? I never see any ad in Firefox with uBlock Origin. I can't imagine it's much of a difference experience than with Brave.
The Brave is the reasons why I can tolerate iphone )
Why don't Mozilla make or use such engine in its browser? Make something really native for dealing with ads and annoyances. The irony is Brave smartly uses Rust which were forsaken by Mozilla. I know Mozilla seems to have something for ads but honestly I don't even know what it really does, beside its shield icon.
162 to 104 is not 75% reduction... Who calculates reduction percentage like that?!
They could cut it 110%, so my available RAM grew bigger, and I would still not trust them. They have been caught with their hands deep in the cookie jar too many times.
But why not use Firefox with ublock? Brave is also chrome beneath. If google pulls the plug what is brave or other browsers anyway?
Chromium is still markedly ahead of Firefox on security, especially on mobile.
Perhaps it's obvious but I'm missing some (briefly) justification why FlatBuffers was better, not Protobuf/Capnproto/...