Why Visual Studio 2012 is important.

General discussion and chat (archived)
User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35647
Joined: 2011-08-28, 17:27
Location: Motala, SE

Why Visual Studio 2012 is important.

Unread post by Moonchild » 2012-10-28, 23:03

"Just another version bump"?
Not this time...
stravinsky wrote:of course VS2012 has better compiler than VS2010.
But the overall improvements would not be that much
You know one reason why I want to move to VS2012 ASAP? The nice addition of auto-vectorization, which can severely improve the speed of loops in code.
Now, you probably won't see a huge jump in benchmarks, considering most those do is test already manually optimized code, but you -will- notice it in overall browser responsiveness and some real-world tests. Preliminary builds using VS2012 have indeed confirmed the very noticeable performance increase in more smoothness of the browser. Unfortunately, I'll have to wait for Microsoft to release the update 1 in November, before I can build for the XP platform with these advantages.

More information: http://blogs.msdn.com/b/nativeconcurren ... aster.aspx

Combining this with extending this vectorization to actually using multiple cores in modern processors (auto-parallelization) when available will further improve speed and efficiency.

EDIT: And it will use SSE4.2 when possible in addition to SSE2:
The Auto-Vectorizer analyzes loops in your code, and uses the vector registers and instructions in your computer to execute them, if it can. This can improve the performance of your code. The compiler targets the SSE2 instructions in Intel or AMD processors, or the NEON instructions on ARM processors. The Auto-Vectorizer also uses the newer, SSE4.2 instruction set if your computer supports it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Ryrynz

Re: Why Visual Studio 2012 is important.

Unread post by Ryrynz » 2012-10-29, 00:11

Nice to have that clarified here, thanks. Will 15.3 simply be a recompile of 15.2 with VS2012 or are there other changes planned also?

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Why Visual Studio 2012 is important.

Unread post by tribaljet » 2012-10-29, 08:14

Great news, especially SSE 4.2 support.
Portuguese translator of Pale Moon

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35647
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Why Visual Studio 2012 is important.

Unread post by Moonchild » 2012-10-29, 08:53

Ryrynz wrote:Nice to have that clarified here, thanks. Will 15.3 simply be a recompile of 15.2 with VS2012 or are there other changes planned also?
There are other changes - the 15.2 code doesn't compile cleanly on VS2012 and a few code changes are required. 15.3 will also see the necessary security updates ported back from Firefox, of course.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

stravinsky

Re: Why Visual Studio 2012 is important.

Unread post by stravinsky » 2012-10-29, 12:37

tribaljet wrote:Great news, especially SSE 4.2 support.



http://forum.palemoon.org/viewtopic.php?f=13&t=576#p2604
Moonchild wrote:
SSE 3 and 4 extend operations that are not heavily used in the code base, so gains would be marginal at best.
http://forum.palemoon.org/viewtopic.php?f=24&t=206
Moonchild wrote:
The specific advantages of using SSE3 and SSE4 would be mostly interesting for video and sound processing, not for a browser. The areas where these kinds of calculations are used (graphics libraries) are already manually optimized.
eg. turbolibjpg is already mostly ASM code.

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Why Visual Studio 2012 is important.

Unread post by tribaljet » 2012-10-29, 12:41

stravinsky wrote:...
Thank you for the pointless links. It's nothing I haven't seen earlier, and the fact is that improvements are in order.
Portuguese translator of Pale Moon

stravinsky

Re: Why Visual Studio 2012 is important.

Unread post by stravinsky » 2012-10-29, 13:17

i notice your post addresses nothing i linked to.
If you arent familiar with the source code, why dont you STFU, and make informed posts rather than rants?

User avatar
tribaljet
Lunatic
Lunatic
Posts: 468
Joined: 2012-06-06, 19:45
Location: Portugal

Re: Why Visual Studio 2012 is important.

Unread post by tribaljet » 2012-10-29, 14:22

Learn some manners before talking to others.
Portuguese translator of Pale Moon

stravinsky

Re: Why Visual Studio 2012 is important.

Unread post by stravinsky » 2012-10-29, 15:37

tribaljet wrote:Thank you for the pointless links. It's nothing I haven't seen earlier, and the fact is that improvements are in order.
Is it possible to make a more generalized statement than this ? :lol:
tribaljet wrote:....
Childish tantrums aside, I am still waiting for you to address the links i posted. What according to you has changed in the mozilla source code, that will benefit hugely from SSE4.2, that has got you so excited ?

User avatar
Admin
Site Admin
Site Admin
Posts: 405
Joined: 2012-05-17, 19:06

Re: Why Visual Studio 2012 is important.

Unread post by Admin » 2012-10-29, 18:58

There is no need for this kind of bickering.

As for Stravinsky, he can go cool his heels a little; there's no reason to be rude and tell someone to STFU when they don't directly reply to just a few links to other posts with segments taken out of context.

Now, can we be civil from here on out, boys and girls? Yes? Thank you :)
Did you know that moral outrage triggers the pleasure centers of the brain? It's unlikely you can actually get addicted to outrage, but there is plausible evidence that you can become strongly predisposed to it.
Source: https://www.bbc.co.uk/programmes/p002w557/episodes/downloads - "The cooperative species" and "Behaving better online"
Image

dark_moon

Re: Why Visual Studio 2012 is important.

Unread post by dark_moon » 2012-10-30, 19:14

Is this the update for Win XP?:
Visual Studio 2012 Update 1 – Final CTP
Enable XP targeting with C++

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35647
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Why Visual Studio 2012 is important.

Unread post by Moonchild » 2012-10-31, 00:13

It's the CTP for it, but yes, that would be it - and probably stable enough in the C++ part of it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Ryrynz

Re: Why Visual Studio 2012 is important.

Unread post by Ryrynz » 2012-11-01, 06:24

Is there a performance tradeoff for Windows 7/8 machines as a result of having XP support specified?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35647
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Why Visual Studio 2012 is important.

Unread post by Moonchild » 2012-11-01, 10:06

Ryrynz wrote:Is there a performance tradeoff for Windows 7/8 machines as a result of having XP support specified?
Not as far as I know. As it is though, there is no documentation whatsoever on how to build for XP from the command-line (which is the way Pale Moon is built). Until I know how to actually make a build for XP that work, releases will continue to be built with VS2010 (because I honestly don't want to make a split build again if i can avoid it, and I don't want to disadvantage XP users).
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

dark_moon

Re: Why Visual Studio 2012 is important.

Unread post by dark_moon » 2012-12-04, 10:37


User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35647
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Why Visual Studio 2012 is important.

Unread post by Moonchild » 2012-12-04, 13:37

Thanks but I was already well-aware - and had already sussed out how to build with update 1 (obviously, since 15.3.* is VS2012 ;) )
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite