I'd love to hear from Mozilla how they got the 64bit version to be faster than the 32bit version. The 64bit versions of apps tend to have to move more data, due to the increased address size. The big advantage the 64bit versions tend to have is more registers for apps, but for most real apps the increased memory pressure is a bigger deal.
Looking forward to Mozilla's blog on writing high performance 64bit apps. :-)
x86-64 has many more registers than x86, which can minimize pushing values on the stack, and therefore boosts speed. On 64-bit you can also assume that at least SSE2 is available, which can help optimizations in some cases.
I vaguely recall seeing a Mozilla presentation while back saying that they had gone to using 64 bits to store JS variables even on 32-bit machines - this was faster since doubles then fit directly, but presumably on a 64-bit machine it would get faster again.
Yeah, I think that's why its array manipulation performance was slower in the 64-bit version -- but I was very surprised to see that almost everything else was faster.
I keep reading about Firefox 7/8 and their improved memory footprints, speed, and now a 64-bit version. Firefox 6 hasn't even been released yet and it's all ready a let down.
1) Wait, they're up to Firefox 8 now? I thought I heard something about Firefox 5 coming out a couple weeks ago.
2) Wait, they're still mainly 32-bit? People still use 32-bit computers? Maybe that's my being a Mac user, but I don't think I have very many 32-bit apps left.
The largest benefit you can expect to get from compiling 64-bit is the ability to address more memory. Performance is a bad reason, unless you need extra floating-point precision or your problem is highly vectorized, and you just doubled the size of all your pointers, so you'll be getting more cache misses. I'm really interested in how they managed these downsides.
Just wait until people start talking about IE 26, Firefox 34, Chrome 42, etc. Now that even the Linux kernel is jumping onto the inflated-version-numbers bandwagon, it won't be long.
[+] [-] kenjackson|14 years ago|reply
Looking forward to Mozilla's blog on writing high performance 64bit apps. :-)
[+] [-] vasi|14 years ago|reply
[+] [-] archangel_one|14 years ago|reply
Edit: http://hacks.mozilla.org/2011/03/firefox4-performance/ refers to 64-bit NaN boxing and links to the article I was thinking of, but unfortunately that seems to be broken.
[+] [-] mrsebastian|14 years ago|reply
64-bit web apps... whatever next!
[+] [-] hristov|14 years ago|reply
[+] [-] beej71|14 years ago|reply
[+] [-] 01Michael10|14 years ago|reply
[+] [-] SeoxyS|14 years ago|reply
2) Wait, they're still mainly 32-bit? People still use 32-bit computers? Maybe that's my being a Mac user, but I don't think I have very many 32-bit apps left.
[+] [-] eric-hu|14 years ago|reply
As a Windows/Ubuntu user, I'm under the impression that most apps I use are still 32 bit unless stated otherwise
[+] [-] antimora|14 years ago|reply
[+] [-] ben_straub|14 years ago|reply
[+] [-] azakai|14 years ago|reply
[+] [-] dfc|14 years ago|reply
[+] [-] NanoWar|14 years ago|reply
[+] [-] trafficlight|14 years ago|reply
[+] [-] kijinbear|14 years ago|reply
[+] [-] 01Michael10|14 years ago|reply
[+] [-] sciurus|14 years ago|reply
[+] [-] bonch|14 years ago|reply
[deleted]