News for hackers. Stuff that matters.
Re:Firefox's JIT is getting significantly faster by est31 on Friday September 25, 2020 @11:39AM (#24590951)
Nice! There's still cool cpp stuff going on in Firefox. This is one example.

https://searchfox.org/mozilla-central/source/js/src/jit/Warp...

Re:Firefox's JIT is getting significantly faster by LeSaucy on Friday September 25, 2020 @02:31PM (#24592742)
That’s a 3300 line cpp file, care to cite a specific example?
Re:Firefox's JIT is getting significantly faster by est31 on Saturday September 26, 2020 @07:47AM (#24598048)
The entire file contains WarpBuilder, which is behind the JIT speedup that this thread is about.

> The SpiderMonkey (JS) team has been working on a significant update to > our JITs called WarpBuilder (or just Warp) [0,1].

The whole component was the cool stuff I was referring too. I linked it mainly to show that it's C++ instead of, say, Rust, not to highlight any component of it.

Re:Firefox's JIT is getting significantly faster by winrid on Friday September 25, 2020 @03:09PM (#24593107)
I was thinking new stuff was done in Rust. I guess Gecko is CPP only?
Re:Firefox's JIT is getting significantly faster by richdougherty on Friday September 25, 2020 @03:26PM (#24593270)
I think some Rust components have been written and integrated into Firefox. But the core Firefox codebase - including Gecko - is still C++ so it's not easy use Rust there.

https://wiki.mozilla.org/Oxidation

On a related note, Chrome is looking at integrating Rust into its C++ codebase.

https://www.chromium.org/Home/chromium-security/memory-safet...

Re:Firefox's JIT is getting significantly faster by stjohnswarts on Friday September 25, 2020 @04:37PM (#24593856)
Not true majority by far is done in c++. Easily confirmed by downloading the browser source and using a LOC analyzer to see how much code is done in which languages
Re:Firefox's JIT is getting significantly faster by winrid on Saturday September 26, 2020 @12:29PM (#24599975)
Yeah, not interested enough to do that.
Re:Firefox's JIT is getting significantly faster by tusharpandey13 on Saturday September 26, 2020 @12:39AM (#24596466)
Please cite a line or maybe a git comment. No-one is going to filter through 3000 lines of cpp code.