Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Browsers
Web Extensions
Resuming the transition to Manifest V3
Message
<blockquote data-quote="ForgottenSeer 97327" data-source="post: 1065649"><p>Thanks for the link, in the FAQ-link something is mentioned about processing speed.</p><p></p><p>Extensions use JavaScript and Chromium internal engine uses C++ (Firefox also Javascript). As a rule of thumb C++ is 10 times faster than javascript. That is for un-optimized code. In IT code optimization is only done when response times are an issue. In application development it is considered bad practice to optimize code when there is no performance need, because (a) it does not add any value to the user, (b) optimized code is harder to maintain. Because there was a " who is the fastest adblocker race" uBO's code is probably optimized to last stretch. Also older code tends to be more optimized than newer code (programmer's like efficiency, so they often can't resist to optimize code, despite the fact that their project leader/scrum master don't allow them to spend time on it). That is why uBO's javascript code was faster than a newly developed adblocker in Rust (Brave?). </p><p></p><p>So will Mv3 be faster than Mv2? </p><p>Certainly not in Firefox (new unoptimized Javascript versus Gorhill's years of optimizing Javascript code)</p><p>Possibly marginally in Chromium/Chrome (because unoptimized C++ is normally 10 times faster than unoptimized Javascript). </p><p></p><p>Rust has memory integrity which C/C++ don't have, that is why many test were done how Rust faired against other programming languages (<a href="https://programming-language-benchmarks.vercel.app/rust-vs-javascript" target="_blank">e.g. LINK</a>)</p></blockquote><p></p>
[QUOTE="ForgottenSeer 97327, post: 1065649"] Thanks for the link, in the FAQ-link something is mentioned about processing speed. Extensions use JavaScript and Chromium internal engine uses C++ (Firefox also Javascript). As a rule of thumb C++ is 10 times faster than javascript. That is for un-optimized code. In IT code optimization is only done when response times are an issue. In application development it is considered bad practice to optimize code when there is no performance need, because (a) it does not add any value to the user, (b) optimized code is harder to maintain. Because there was a " who is the fastest adblocker race" uBO's code is probably optimized to last stretch. Also older code tends to be more optimized than newer code (programmer's like efficiency, so they often can't resist to optimize code, despite the fact that their project leader/scrum master don't allow them to spend time on it). That is why uBO's javascript code was faster than a newly developed adblocker in Rust (Brave?). So will Mv3 be faster than Mv2? Certainly not in Firefox (new unoptimized Javascript versus Gorhill's years of optimizing Javascript code) Possibly marginally in Chromium/Chrome (because unoptimized C++ is normally 10 times faster than unoptimized Javascript). Rust has memory integrity which C/C++ don't have, that is why many test were done how Rust faired against other programming languages ([URL='https://programming-language-benchmarks.vercel.app/rust-vs-javascript']e.g. LINK[/URL]) [/QUOTE]
Insert quotes…
Verification
Post reply
Top