Jump to content

  • Log In with Google      Sign In   
  • Create Account


Using Visual C++ 6


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
15 replies to this topic

#1 serumas   Members   -  Reputation: 709

Like
-6Likes
Like

Posted 07 August 2012 - 02:16 AM

Moderator Note: This topic was split from another discussion ("DX7 VC++6 Slow Alpha Blending") so as to keep the other conversation on topic. - jbadams.

Im still using vc6 , best compilation speed and performance comparing with vs2008 and code::blocks with gcc, so why not to use it?

Edited by jbadams, 07 August 2012 - 04:00 AM.
Added note about splitting topics.


Sponsor:

#2 jbadams   Senior Staff   -  Reputation: 17779

Like
13Likes
Like

Posted 07 August 2012 - 02:27 AM

Because it still suffers from all the bugs and potential security holes that were fixed in the last 14 years.

Because you're almost certainly trading better compilation time for worse run-time performance by giving up over a decade of compiler improvements.

Because your pre-standard compiler has you writing code that isn't even valid C++, and working around issues that are long-since fixed.

Because a newer standard library reduces development time.

#3 serumas   Members   -  Reputation: 709

Like
-1Likes
Like

Posted 07 August 2012 - 03:04 AM

Performance?
I have tested my game apps with several ides and best performance was shown in vs6, worst in vs2008 allmost 1.5 time slower, with same compilator options.
Ofcouse c++ is not nowadays standart.

#4 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 07 August 2012 - 03:10 AM

Windows 98 would offer best performance over windows 7 on my hardware, why not use it?
Its obsolete?


The C++ your writing in VC++6 technically isn't valid C++ anymore, the actual compiled code will be far less optimised than using the modern GCC.

Guy above, C++ is now standardised, VC++6 is not compliant. GCC is. And its a compiler, not compilator. If your code is running faster in VC++6 then it means your code is being written in the non standard C++ used by it and probably optimised for that compiler, go run actual C++ code through it and it WILL be slower at run time.

#5 mhagain   Crossbones+   -  Reputation: 7671

Like
1Likes
Like

Posted 07 August 2012 - 03:27 AM

Aside from the above, some day your code is just no longer going to run. I know of projects originally built with VC6 that crash and burn horribly on 64-bit Windows 7; a simple and minimal port to VC2008, a quick recompile later, and they work perfectly again.

You can put off a move to a more modern environment until the bitter end, and then find yourself having to do an emergency upgrade that you'll most likely make a mess of the first time.

Or you can start a sensibly phased upgrade now and have everything nice and clean.

Your choice.

It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


#6 jbadams   Senior Staff   -  Reputation: 17779

Like
2Likes
Like

Posted 07 August 2012 - 04:48 AM

Ofcouse c++ is not nowadays standart

C++ was standardised in 1998, after the release of Visual Studio 6. Code that does not follow that (or one of the two more recent C++ standards, in 2003 and 2011) is not considered to be valid C++.

#7 serumas   Members   -  Reputation: 709

Like
0Likes
Like

Posted 07 August 2012 - 02:18 PM

Thats the point of standart if the same code compiles on vs6 and on vs2008 with no changes in code.
So is my code standart c++, if compiles on both?

#8 FLeBlanc   Crossbones+   -  Reputation: 3085

Like
4Likes
Like

Posted 07 August 2012 - 02:47 PM

The point isn't if your code compiles, it's whether or not standard code will compile on your compiler. Trust me, there is plenty of perfectly standard code that VC6 will choke on like a baby eating a jawbreaker. You're using an obsolete and provably broken tool. If you want to convince yourself that your reasons for using it aren't stupid, that's fine. Just don't expect the rest of us to think you're anything other than an idiot.

#9 kunos   Crossbones+   -  Reputation: 2203

Like
2Likes
Like

Posted 07 August 2012 - 03:09 PM

why are you guys getting sore about this?Just let the guy use whatever he wants, at the end, is the results that counts and this guy isn't doing anything to write home about, so let him waste his time however he wants.
Now, if a new great game came out and was compiled with VC6 that would be news, but a random dude on a forum convinced that VC6 + DX7 is the nirvana of computing? Who cares?
This just goes into the same category of the heroes that show up in every IDE thread claming they write all their software with VIM + command line.. and then you discover they write 1000 lines of code per year.. Posted Image .

Programmers resisting innovation and progress is such a contradiction, I never stop getting amazed watching them.
Stefano Casillo
Lead Programmer
TWITTER: @KunosStefano
AssettoCorsa - netKar PRO - Kunos Simulazioni

#10 Ravyne   Crossbones+   -  Reputation: 7062

Like
3Likes
Like

Posted 07 August 2012 - 03:15 PM

If your code *compiles* more slowly using a modern IDE, its probably because your hardware is outdated, but if your code *runs* more slowly after being compiled by a more-modern compiler, then you are either overlooking settings that should be used, or you're writing in a VC++ 6-era code style. Modern, standard-compliant, idiom-embracing code should most-definitely run faster after being compiled with a modern compiler.

I mean honestly, VC6's knowledge of processor architecture probably stops around the PIII and Athlon (if you've got all the service packs) for starters. You're at the very least leaving 10+ years of new, efficient instructions on the table.

#11 jbadams   Senior Staff   -  Reputation: 17779

Like
1Likes
Like

Posted 07 August 2012 - 07:06 PM

why are you guys getting sore about this?Just let the guy use whatever he wants, at the end, is the results that counts and this guy isn't doing anything to write home about, so let him waste his time however he wants.

Absolutely, but given he asked the question I feel it's best to at least try to explain our objections. :-)

(Posted from mobile.)

#12 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 08 August 2012 - 04:57 AM

Pretty sure I read somewhere that Dx7 and 8 aren't even supported on windows 8 anymore, probably wrong, then again why would they support it?

#13 FredOrJoeBloggs   Members   -  Reputation: 117

Like
0Likes
Like

Posted 08 August 2012 - 07:05 AM

Pretty sure I read somewhere that Dx7 and 8 aren't even supported on windows 8 anymore, probably wrong, then again why would they support it?

And what makes you think Windows 8 will ever be used on the guy's system :)

I've had to port code from VS6 to 2005, there were so many issues.

But I agree, if this guy finds that he can do what he needs to for his personal enjoyment using VS6 then so be it.

#14 mhagain   Crossbones+   -  Reputation: 7671

Like
0Likes
Like

Posted 08 August 2012 - 08:09 AM

why are you guys getting sore about this?Just let the guy use whatever he wants, at the end, is the results that counts and this guy isn't doing anything to write home about, so let him waste his time however he wants.


It's not getting sore. If you go anywhere in IT asking for help, and if you're on an obsolete, unsupported and demonstrably broken platform, the first thing to do is get you onto one that's reasonably up to date and sane - chances are that on it's own will fix your problems.

It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


#15 BitMaster   Crossbones+   -  Reputation: 3812

Like
0Likes
Like

Posted 08 August 2012 - 08:26 AM

Besides, the attitude of the OP was that it would be a good idea to be using VC6 (as well as explicitly asking why not to use it). If he had said something on the lines of "I'm still using VC6 and it works for me, despite issues like P0, P1, P2, ... and P<pretty much infinity> compared to a modern tool" then hardly anyone would have had a problem with it. Everyone needs some kind of hobby.
Personally I do not have a problem with that hobby being (figuratively) sleeping in a bath tub full of deadly scorpions (provided care is taken the scorpions don't get injured or can escape to harm nearby innocents). I do object to someone saying sleeping in a bath tub full of deadly scorpions is a good idea and everyone should be doing it.

#16 yadango   Members   -  Reputation: 559

Like
0Likes
Like

Posted 08 August 2012 - 01:03 PM

Lol i would only use it if I had to use it.... Targeting win95 or win32s if oh god some people remember that far... Did vc6 still generate windows 3.1 binaries?

Another reason to use it is if you have to use it. I taught a vb class recently and department told me not to use modern vb.net. Book also used old vb and provided vb working model. So sometimes classes are taught using classic versions of the language.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS