Is Visual c++.NET 2005 a compromise compared to C# or VB.NET ? advice needed

S

s33k3r

hi all

I've been assigned the task of designing a distributed application from
scratch. I have no legacy applications to integrate or support. But I'm
faced with the question : Is visual c++.net a compromise when compared
to C# or VB.NET.

Considering the fact that even COM+ enterprise services is going to be
rewritten in managed code in vista, I'd like to understand if I'm
lugging legacy baggage if I'm using VC++.NET. Can some one clarify ?

cheers
 
S

s33k3r

Thanks for your reply Bruno.
My only reason for choosing C# for pure .NET applications is that it is
easier to learn, easier to maintain and less effort to create an application.
And C# and VB will also have support for LINQ, and lots of other cool new
features that are not planned for C++ at the moment.

I understand that C# and VB.NET will be better supported than C++,
expecting otherwise is impractical.
But what I would like to understand is, apart from legacy code support
is there some area where C++ scores over C# ? Say performance wise :
does native code score over managed code.


I would not touch VB.NET with a 10 foot pole because I think VB is evil
incarnate, and the syntax is too verbose and ugly as hell. But that is just
my personal preference of course. This being a C++ forum, I suspect that most
people agree.
People in the VB forums may have a different opinion of course.

I have to agree on this one. I certainly would'nt want to build a
mission critical application completely in VB.NET.

The reason for my splitting hairs on this issue basically is I don't
want to end up with a legacy monster one year later (Vista has been
released), which offers no benefits except legacy code support (where
there is none to support), when I could very well have moved to C# .

Cheers
 
S

s33k3r

Thanks Bruno
It's been really nice discussing with you. I'll probably review my
requirements a little more clearly, keeping your suggestions in mind.
(Though I'm half decided on C# ;-))

Cheer
 
S

s33k3r

Thanks Bruno
It's been really nice discussing with you. I'll probably review my
requirements a little more clearly, keeping your suggestions in mind.
(Though I'm half decided on C# ;-))

Cheers
 
C

Carl Daniel [VC++ MVP]

s33k3r said:
hi all

I've been assigned the task of designing a distributed application
from scratch. I have no legacy applications to integrate or support.
But I'm faced with the question : Is visual c++.net a compromise when
compared to C# or VB.NET.

Considering the fact that even COM+ enterprise services is going to be
rewritten in managed code in vista, I'd like to understand if I'm
lugging legacy baggage if I'm using VC++.NET. Can some one clarify ?

By the way, in addition to Bruno's comments (which I agree with 100%), I'll
add that even in Vista there are tons of new, native-only bits of
functionality. In fact, within the OS itself (kernel, shell, user32, gdi32,
etc), none of the new features are implemented in managed code, and many of
them are inaccessible except from native code. If you plan to target Vista
and make use of Vitsa features (other than WPF, which is really just an
add-on and also runs on XP), then C++ still has lots to offer over C#.

There's no architectural change to COM+ ES in Vista - it's the same, native
code that it's always been (and always will be). There's good support for
interoping with COM+ in .NET 2.0 and 3.0, so it's accessible from C#, C++
can use the .NET wrappers from managed code, or use the native
interfaces/functions directly from native code.

-cd
 
W

William DePalo [MVP VC++]

Bruno van Dooren said:
I would not touch VB.NET with a 10 foot pole because I think VB is evil
incarnate, and the syntax is too verbose and ugly as hell. But that is
just
my personal preference of course. This being a C++ forum, I suspect that
most
people agree.

You are in good company. Edsger Dijkstra famously saif of that pitiful
excuse for a programming language

<quote>
It is practically impossible to teach good programming to students that have
had a prior exposure to BASIC: as potential programmers they are mentally
mutilated beyond hope of regeneration.
People in the VB forums may have a different opinion of course.

Yes and they probably eat with their fingers, too. :)

Regards,
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top