Earlier quoted context omitted.
> these days Are you referring to current RAM prices or bloat of numerous Electron apps?
A $130 Motorola smartphone has 8GB of RAM. This will save 0.5% RAM. It's fairly negligible on modern systems.
Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
31–40 of 289 posts
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#32I 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.
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#33I 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.
AI may have forced the hand on this. Users will no longer be able to subsidize software performance with hardware upgrades due to the great DRAM debacle of 2026..
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#34Brave'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.
Or is there something that cargo does to manage it differently (due diligence?).
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#35I just found out Brave supports Vertical tabs, https://brave.com/blog/vertical-tabs/ I might have to try switching from FF...
Do they support nested tabs? Makes visually navigating many tabs so much easier that way.
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#36Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#37Does Brave actually block ads now? Or does it still replace them with ads for scanmy cryptocurrency?
> Or does it still replace them with ads for scanmy cryptocurrency? Brave never did that. Brave blocks third-party ads & trackers by default. (disclaimer: I lead privacy and adblocking at Brave)
(disclaimer: people remember how sketchy Brave is)
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#38Brave'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.
At risk like node/npm with all the supply-chain attacks then? Or is there something that cargo does to manage it differently (due diligence?).
Not having a dependency management system isn't a solution to supply chain attacks, auditing your dependencies is
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#39I just found out Brave supports Vertical tabs, https://brave.com/blog/vertical-tabs/ I might have to try switching from FF...
But nowadays, vertical tabs are native since Firefox v136 [3][4], so at least for the basics you won't need an add-on.
[1]: https://addons.mozilla.org/firefox/addon/sidebery/
[2]: https://addons.mozilla.org/firefox/addon/tree-style-tab/
Re: Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%
#40I 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.
Me too.
> The more rust gets written,
Rust seems neither necessary nor sufficient for getting developers to care about memory efficiency again though.