Live data from Hacker News

Brave Improves Its Ad-Blocker Performance with New Engine in Rust

brave.com

191–200 of 382 posts

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#192
post #114

Earlier quoted context omitted.

Is uBlock terrible?

Yes? Generating and serving content isn't free. If you don't want the ads, don't visit the page or pay for an ad-free version.

The presented solutions are honestly quite silly.

Anything available on the web, an open platform, is free to view by design. To make it not free, you as a publisher are required to take extra steps which do not presume control over the client computer. If you don't like this, perhaps the web platform is not the one you intended to use.

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#193

Earlier quoted context omitted.

Have you tried it recently? It has gotten a lot faster, so much so that some people say it's faster than Chrome in many cases. Personally, I find it more than adequate, and I agree with their mission a lot more than the other browser vendors.

It's been years people suggest the same "have you tried recently", but it doesn't come even close to the snappiness of any chromium based browser when I use it.

I use both and in my case, new Firefox is snappier than Chrome.

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#194
post #39

Earlier quoted context omitted.

What’s wrong with Firefox?

I do a lot of web development and need the tools.

You can use Firefox for browsing and Chrome for development. No need to settle on a single egg.

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#196

It's sad how, although I personally prefer to support Firefox by using it, I have still stuck with Google's Chrome due to a speed/sleekness factor which I can't quite put my finger on, that Firefox has never been able to overcome in my mind since fully switching over to Chrome several years ago. It's little touches like how you can't re-order extension buttons with a basic mouse drag - no, you have to go into 'Custom…

I can almost put my finger on firefox problems. The html/js engine is great. It's the GUI that severly lags. Tabs, menus, url. On the same machine Chromes never stutter, firefox nightly does way too much.

Mozilla did a lot for so long, let's hope they can circle the issues and find resources to fix them.

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#197

So I’m confused about the results. Is the engine faster because of rust or because of improvements to the algorithm?

Languages aren't "fast" per se, but a language will help you converge with better ideas faster.

It's a regular working process.. use a language that let you write ideas down and test them quick. Later reimplement them in assembly. I mean C.

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#198
post #154

Slightly off topic: Does anyone else have the problem of constantly being logged out of your Google accounts on Brave. I keep getting logged out even without closing the browser. I have tweeted to them but haven't been able to get a response. I am so annoyed with the experience that I stopped recommending it and am planning to switch back to Chrome. Edit: I have multiple Google accounts signed into. And also, it does…

The way they’re handling cookies may be just be strict enough that it can break security measures on some sites. Unfortunately, lots of websites have come to rely on things that maybe should’ve never been features (like third party cookies, for example.) Just out of curiosity, have you tried Firefox? I know it’s not perfect, but with minimal tweaking I think it’s very competitive.

Show your tweaks.

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#199
post #123

Earlier quoted context omitted.

I just use Firefox with uBlock Origin on all my devices. Better blocking than Brave and no concerns about future monetization.

I'm currently using Firefox on all devices as my primary browser, but there is a single feature that I've gotten used to in Chrom* browsers on mobile - 'pull down to refresh' - that looks indispensable to me, and I'm planning to move to Brave on mobile just because of that (already replaced Chrome with Brave on Desktop as my secondary browser). Yes, there are add-ons to do that on mobile too, but they are all inconsi…

Try Kiwi Browser for Android. Its a Chromium-based browser with built-in ad-block. If you want, you can even install uBlock Origin or any other extensions as it natively supports extensions.

Re: Brave Improves Its Ad-Blocker Performance with New Engine in Rust

#200

Earlier quoted context omitted.

It's a new, faster algorithm with rule pattern matching. The language is only mentioned once as an implementation detail, not that rust's 69x faster than C++.

According to https://github.com/brave/adblock-rust they use a similar algorithm as uBlock Origin. So not really "new", just reimplemented in rust.

It’s actually a Rust implementation of https://github.com/cliqz-oss/adblocker. So you can interpret the difference in the chart between Ghostery and Brave as being how much Rust improved performance over Node.js
Post reply on HN