C++ and VS 2002 .net

  • Thread starter Thread starter Val
  • Start date Start date
V

Val

I want to implement "Policy Based Design" but I don't find the vc7 compiler "friendly" enough for that.
VC7.1 is the bare minimum in my view. Is there a way to upgrade the compiler and libraries to more recent
iso/ansi standards?
Otherwise I'll need to port the living daylights out of me :)

Have a nice day,
Val
 
Val said:
I want to implement "Policy Based Design" but I don't find the vc7 compiler "friendly" enough for that.
VC7.1 is the bare minimum in my view. Is there a way to upgrade the compiler and libraries to more recent
iso/ansi standards?

I don't think you'll find a significantly better
std lib than the Dinkumware lib shipping with VC.
(Other than a newer version of it, of course.)

As for the compiler: You could buy Comeau C++.
It's only 50$, and it's generally accepted as the
best C++ compiler around. I have yet to find a
bug in it (if I report an error for one of the
other compilers we use, the statement that "como
does (not) compile this" usually is enough to get
the case accepted as a bug) and its diagnostics
are really excellent. OTOH, it has at least two
serious drawbacks: First, it generates C code
and needs another compiler to generate obj files.
(However, VC, which you already have, will do
fine.) Second, it doesn't plug into the IDE.
Writing this I remember that I heard that Intel's
C++ compilers plugs into VS. I have never used it,
though, and don't know how its compliance compares
to VC7.1. (It was said to be far superior to VC6.
But then, in this millenium, what wasn't?)
Otherwise I'll need to port the living daylights out of me :)

I do write a lot of template code on CodeWarrior.
Its main advantage over VC is that it got two-phase
lookup. The fact that VC misses this can make
porting template code from VC to other compilers a
PITA.
Have a nice day,
Val


Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
 
Val said:
Hmm, I wonder if it's possible to replace the compiler and libraries with my vc7 compiler/libs/linker..
Link:
http://msdn.microsoft.com/visualc/vctoolkit2003/

Wait. You have VC7 and wonder whether the
toolkit's compiler might work with it? I
see.
Google this group. This had been discussed
here a while ago (shortly after the toolkit
appeared). However, I don't know of the
outcome.
Otherwise I have to contact comeau indeed.

Do you know
http://www.comeaucomputing.com/tryitout/
?
Thank you for your time by the way!

I am learning just as much in this group... :)


Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
 
Yes I googled this group but couldn't find issues regarding moving toolkit 2003 items to VS 2002 .net
 
Val said:
Yes I googled this group but couldn't find issues regarding moving
toolkit 2003 items to VS 2002 .net

Why not just upgrade to VS 2003? The cost of buying an upgrade from VS2002
to VS2003 is supposed to be quite reasonable.

Mixing different products together is not supported, so you are better off
using the full product anyways.
 
Just an experiment to quickly test if vc7.1 would suffice.
If not, I need to buy comeau anyway. Later I'll think about vs2005 wihtin the scope of PBD, but I also depend
on the available budget obviously.
 
As for the compiler: You could buy Comeau C++.
It's only 50$, and it's generally accepted as the
best C++ compiler around. I have yet to find a
bug in it (if I report an error for one of the
other compilers we use, the statement that "como
does (not) compile this" usually is enough to get
the case accepted as a bug) and its diagnostics
are really excellent. OTOH, it has at least two
serious drawbacks: First, it generates C code
and needs another compiler to generate obj files.
(However, VC, which you already have, will do
fine.)

Which then need not be just a drawback, but can also be
considered a plus, since many compilers can be
used as a backend (and more being added as we speak),
leveraging off of existing technology and
existing customer investment(s).
 
Hmm, I wonder if it's possible to replace the compiler and libraries with my vc7 compiler/libs/linker..
Link:
http://msdn.microsoft.com/visualc/vctoolkit2003/

Otherwise I have to contact comeau indeed.

Why not do both? Since you seem to have no other extenuating
circumatances and unless I'm misunderstanding you seem to need
better template support, so moving from VC++ 7.0 to VC++ 7.1
makes sense, and so does licensing Comeau C++.
 
Greg Comeau said:


Hi Greg, once you show up here (to be
honest, I did expect that anyway <g>),
I can tell you about another drawback
of Comeau: The website's design is very
hard to take serious. If it wasn't for
como's good reputation, I would have
gone off to disney.com after the very
first sight.

Schobi


P.S.: "...ceterum censeo, carthaginem
esse delendam." :)
Marcus Porcius Cato

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
 
Hello Greg!
I can tell you about another drawback
of Comeau: The website's design is very
hard to take serious.

Please ignore Hendrik's complaining.

Your web site is excellent and very easy to
take seriously. Don't change this design.
It is just fine. You don't have to conform
to somebody's weird expectation of what
is professional. Especially if that
someone is as infantile as to mention
"disney.com" as a model of web design.

Thank you,

Sylvester Ziolkowski

PS. On the odd chance that you decide
to redesign your web site with Flash,
please make sure that you charge $500
(instead of $50) for those who purchase
your compiler via Flash-y web site.
That would promote natural selection
in the modern information age. Thx, S.
 
Kalafiorczyk said:
[...] Especially if that
someone is as infantile as to mention
"disney.com" as a model of web design.

LOL! I haven't been there yet! Is it
worth a look? :)
[...]
PS. On the odd chance that you decide
to redesign your web site with Flash,
please make sure that you charge $500
(instead of $50) for those who purchase
your compiler via Flash-y web site.
[...]

I hate those Flash sites.

(Note that I when wrote about design,
I meant the visual appearance, not the
implementation. You can do with a lot
less fonts screaming at you without
using Flash or whatever.)

Schobi

--
(e-mail address removed) is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
 
Back
Top