C# or VC++

A

areejan2000

ok guys

i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro

i have to switch to vc++ for the new project involving video

transfer .

i can use vc++ or C#

i have plain simple questions for the pro


1.is C# sharp(powerful) as Vc++ or >

2.can i do "all" thats done in vc++ using c#

i an told that c# can run on any platform (with .net envir) ,

is it possible to run in a linux platform
(please no prejudice here...)

..............
 
A

apm

ok guys

i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro

i have to switch to vc++ for the new project involving video

transfer .

i can use vc++ or C#

i have plain simple questions for the pro


1.is C# sharp(powerful) as Vc++ or >


2.can i do "all" thats done in vc++ using c#

Not to my knoledge. For example, c# cannot staticly link to unmanaged
libraries.
 
D

Daniel O'Connell [C# MVP]

1.is C# sharp(powerful) as Vc++ or >

2.can i do "all" thats done in vc++ using c#

You can't do all thats done, there are a small handful of things C++ can do
that C# can't, but they are pretty minimal. Unless you happen to need to
those particulars, you won't have a problem.

Assuming more powerful means better for a task is a risky choice, IMHO. What
kind of constraints does your project have?
i an told that c# can run on any platform (with .net envir) ,

is it possible to run in a linux platform
(please no prejudice here...)

The Mono project will allow you to run on Linux, as well as other platforms.
 
G

Guest

i am developer in vb6 mainly database.
earlier i used to do Dbase<------->foxpro

If you have not used either C++ or C# before, then you will find C++ a lot
more difficult to learn. If, in addition, you use MFC with C++ (which is
normal for VC++ projects), then your learning problems will be doubled.

You will be productive with C# a lot sooner than you will with VC++.
1.is C# sharp(powerful) as Vc++ or >

In almost all situations, yes, and it is a lot simpler.

The only time I would consider VC++ over C# is if there are very tight,
real-time constraints. Even then, I would do some prototyping to test my
assumptions, before giving up on C#.
i an told that c# can run on any platform (with .net envir) ,

is it possible to run in a linux platform
(please no prejudice here...)

VC++, with MFC, is not portable.

HTH,

Javaman
 
R

Rob Schieber

Javaman59 said:
If you have not used either C++ or C# before, then you will find C++ a lot
more difficult to learn. If, in addition, you use MFC with C++ (which is
normal for VC++ projects), then your learning problems will be doubled.

You will be productive with C# a lot sooner than you will with VC++.




In almost all situations, yes, and it is a lot simpler.

The only time I would consider VC++ over C# is if there are very tight,
real-time constraints. Even then, I would do some prototyping to test my
assumptions, before giving up on C#.

Javaman,

I think you raise some valid points but let me play devils advocate on a
few issues here. A few (big) drawbacks of C#/Managed code that nobody
mentioned:

1. Huge memory footprint, loading the CLR adds around 8MB to 80MB to
you memory footprint.

2. Code can be easily decompiled, even obsfuscating your code doesn't
do a whole lot to protect your code from others who want to see how it
works.

3. Requires .Net framework on client, and this is not a trivial
install, its a 20 MB download, and requires a reboot.
 
G

Guest

Good points Rob. My perspective on C# comes from having worked with it in the
development environment. In that situation it is easy to neglect deployment
issues. That reminds me, I'd better do something about deploying my C# app
soon!

- Javaman
 

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