News for hackers. Stuff that matters.
Re:Visual Studio 2013 by dthunt on Monday June 03, 2013 @06:14PM (#5816419)
What I want to know is how someone can see that their software project has become unlinkable on a 32-bit OS and somehow think that this is purely a compiler problem.
Re:Visual Studio 2013 by terrymah on Monday June 03, 2013 @06:54PM (#5816617)
I'm actually about to sit down and write a blog post about VS compiler memory issues, and I had a long talk with the Firefox guys a few weeks ago about this issue. It's not all their fault.
Re:Visual Studio 2013 by dthunt on Monday June 03, 2013 @07:05PM (#5816666)
Awesome - where's it likely to get posted?
Re:Visual Studio 2013 by terrymah on Monday June 03, 2013 @07:19PM (#5816741)
Visual C++ Team blog
Re:Visual Studio 2013 by yuhong on Monday June 03, 2013 @08:46PM (#5817048)
And when?
Re:Visual Studio 2013 by mbrubeck on Monday June 03, 2013 @08:31PM (#5816988)
It's not just Firefox; other large projects like Chromium also exceed this limit when using MSVC's profile-guided optimization (PGO) on 32-bit Windows. (Chrome's solution is to build without PGO; Firefox's is to limit PGO to only a portion of source directories.)
Re:Visual Studio 2013 by jlgreco on Monday June 03, 2013 @06:44PM (#5816570)
Keep in mind that this is the group that thinks de-prioritizing 64-bit windows builds is a-okay while at the same time they need 64-bit windows machines running 32-bit linkers to build their 32-bit windows binaries. ...phew, what a mouthfull.

Mozilla has never struck me as the most... forward looking.

Re:Visual Studio 2013 by yuhong on Monday June 03, 2013 @07:31PM (#5816799)
For one thing, I don't think their JIT produces code that properly follows the Windows x64 ABI yet. It really should be disabled in 64-bit builds until they do.
Re:Visual Studio 2013 by terrymah on Monday June 03, 2013 @10:33PM (#5817345)
Following the ABI is only an issue at module boundaries. If you control every callsite of a function, you can invent whatever calling convention you want.
Re:Visual Studio 2013 by yuhong on Tuesday June 04, 2013 @03:03AM (#5818071)
But you still need the function tables and follow prolog/epilog conventions with x64 for SEH to work.
Re:Visual Studio 2013 by jlgreco on Monday June 03, 2013 @07:40PM (#5816825)
Their stated reason for de-prioritizing 64-bit builds wasn't technical; rather they say they don't have the manpower to do both. Perhaps the manpower issue is that they don't have enough people to work on the JIT issues on x64 and do everything else, but I do not believe they specified.
Re:Visual Studio 2013 by cpeterso on Monday June 03, 2013 @08:44PM (#5817038)
btw, Google Chrome doesn't have a 64-bit version* for Windows. The Chrome team also disabled PGO on Windows because of the same MSVC linker limitations that Mozilla hit.

* Edit: oops, I corrected a typo where I wrote "32-bit build".

Re:Visual Studio 2013 by jlgreco on Monday June 03, 2013 @10:38PM (#5817369)
Yes, though that is far less a pain in the ass since they use multiple processes. I can't count the number of times I have run out of memory with firefox on windows despite having far more than firefox was using.
Re:Visual Studio 2013 by yuhong on Monday June 03, 2013 @08:45PM (#5817044)
You mean a 32-bit build system?
Re:Visual Studio 2013 by cpeterso on Monday June 03, 2013 @09:54PM (#5817243)
Sorry, I had a typo in my post. I mean Chrome for Windows is a 32-bit application. There is no 64-bit Chrome for Windows.