r/askscience • • Sep 19 '19

Computing Since all code is eventually translated into machine language, how can you get performance improvement by switching higher-level source ?

Inspired by https://en.m.wikipedia.org/wiki/Brave_(web_browser), last paragraph of the History section.

"In June 2019 Brave started testing new ad-blocking rule matching algorithm implemented in Rust that Brave claims is on average 69 times faster than the previous implementation in C++. The new algorithm is inspired by uBlock Origin and Ghostery algorithms."

6 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/dingusdongus Real Time and Embedded Systems | Machine Learning Sep 25 '19

Thanks! I made the change. Will it work now?

1

u/wazoheat Meteorology | Planetary Atmospheres | Data Assimilation Sep 25 '19

Sorry, apparently editing the comment doesn't fix the removal or allow me to approve it. I would suggest creating a new reply without https:// at the beginning of that link, that should allow the post through

Reddit's spam filter can be pretty dumb sometimes.