What's the difference with ublock and why not contact ublock developer to propose to integrate it instead of what did Brave? Article don't mention what is better with adblock rust! :-/
Probably for the same reason that Waterfox developers gave: Because uBO is GPL licensed and combining with an MPL licensed codebase makes things complicated for downstream developers who cannot GPL license their codebase.
The Brave module is MPL licensed already.
Sure, I would prefer that everything is GPL, but it's not my project.
Because Rust is cool and JavaScript sucks
Yeah as much as I love ublock origin and use it heavily. I support more rust on more things. 60+% of browser CVE are memory issues. Rust was explicitly made to stop those.
Do you think that Javascript has manual memory management?
No, but it's nowhere near as strict in its management. Plenty of memory issues can still usually from unintentionally maintaining a reference to an object. forgotten global variables, uncleared timers (setInterval), or closures that stay in scope longer than necessary.
And ofc you now have the performance overhead of GC constantly running
I wonder how they actually implement it, given that the corporation runs an advertising network.
Firefox
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.