Hello
I am a C++ programmer with limited experience (design) using C#. From my experience, C#, like Java, is a derivative of C++. However, Microsoft is able to blend C# and C++, getting the best out of the Java design
With the recent settlement between MS and SUN, I think that MS will remain the top desktop software company. Bottomline: C# should surpass Java given that it is in fact platform-independent
I have some basic questions on the C# language.
Currently, does a C# application run on a non-Win32/Win64 platform (UNIX, Mac, wireless)
How does C# compare to C++ in terms of object-oriental design (inheritance, template, etc) on a large-scale project
How does C# compare to C++ for client/server applications including various IPC concepts, multithreading, multiple processes, etc
How does C# compare to C++ for processor-intensive applications including games, 3D-render, multimedia, etc
I read some reviews on two books on C# by Jeff Prosise and Charles Petzold. In general, readers find the books GUI-oriented. How good is C# for performance-imperative applications
Thanks
Kuphryn 4 2512
What you need to recognize about C# over C++ is that it is managed. Managed
means overhead. C# is not derived from C++, no matter what anybody says. The
syntax has similarities, that is about it.
Performance is much slower than a C++ app, the footprint is much larger (in
terms of RAM and executable size). The benefit is that many of the complex
problems of software programming have been solved for you. That means higher
productivity. You can write games in C# and get decent results, but you
won't see any C# in Doom 3 or Half Life 2.
Yes, .NET apps can be run on Unix, etc. ( http://www.go-mono.org/ or http://www.go-mono.com/) I also saw an article awhile back about Microsoft
releasing a version of the framework for Unix-flavor OSes (don't quote me,
but someone has to be able to verfiy that).
..NET has many of the IPC problems solved as well. It is extremely (relative,
i know) easy to write client/server apps, n-tier apps, etc.
As far as OO, it is all in there. You mentioned templates... C# does not
support something like C++ templates, but (at a high level) this is supposed
to be addressed with generics in version 2 of the language.
So once again, you are trading productivity and mantainability for
performance when switching to C# from C++ (there are other tradeoffs, too,
you can explore those later).
Disclaimer: this is not a comprehensive list of features/pros/cons of the
language. Just wanted to give you an idea.
Adam
"kuphryn" <an*******@discussions.microsoft.com> wrote in message
news:04**********************************@microsof t.com... Hello.
I am a C++ programmer with limited experience (design) using C#. From my
experience, C#, like Java, is a derivative of C++. However, Microsoft is
able to blend C# and C++, getting the best out of the Java design. With the recent settlement between MS and SUN, I think that MS will remain
the top desktop software company. Bottomline: C# should surpass Java given
that it is in fact platform-independent. I have some basic questions on the C# language.
Currently, does a C# application run on a non-Win32/Win64 platform (UNIX,
Mac, wireless)? How does C# compare to C++ in terms of object-oriental design
(inheritance, template, etc) on a large-scale project? How does C# compare to C++ for client/server applications including
various IPC concepts, multithreading, multiple processes, etc? How does C# compare to C++ for processor-intensive applications including
games, 3D-render, multimedia, etc? I read some reviews on two books on C# by Jeff Prosise and Charles
Petzold. In general, readers find the books GUI-oriented. How good is C# for
performance-imperative applications? Thanks,
Kuphryn
Adam W Root <ad**@canright.com> wrote: Performance is much slower than a C++ app, the footprint is much larger (in terms of RAM and executable size).
Could you state what you mean by "much slower" here? For *certain*
tasks C# will indeed be significantly slower than C++. For many other
tasks, it will be about the same speed.
As for the footprint size: there's the hit of the CLR itself and the
libraries it needs, but after that the footprint shouldn't end up being
much larger in terms of data. Of course, garbage collection means it'll
usually be a bit bigger, but I don't *think* .NET types themselves take
up particularly more data than C++ types. The typical overhead in .NET
is 8 bytes per object - any idea what it is in C++? (I don't know, but
I doubt that it's less than 4, and wouldn't be surprised if it's 8
again.)
In terms of the actual executable size itself, I think C# ends up much
the same as C++, really.
Yes, .NET apps can be run on Unix, etc. (http://www.go-mono.org/ or http://www.go-mono.com/) I also saw an article awhile back about Microsoft releasing a version of the framework for Unix-flavor OSes (don't quote me, but someone has to be able to verfiy that).
Yes, it's called ROTOR. See http://www.pobox.com/~skeet/csharp/f...rating.systems
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
C# lacks templates which C++ has.
Also missing is multiple inheritance.
C# supports ONLY single class inheritance,
but supports multiple interface inheritance.
However, you must implement the interface functions
yourself.
So far I found the lack of templates and multiple inheritance
major negatives about the language.
kuphryn wrote: Hello.
I am a C++ programmer with limited experience (design) using C#. From my experience, C#, like Java, is a derivative of C++. However, Microsoft is able to blend C# and C++, getting the best out of the Java design.
With the recent settlement between MS and SUN, I think that MS will remain the top desktop software company. Bottomline: C# should surpass Java given that it is in fact platform-independent.
I have some basic questions on the C# language.
Currently, does a C# application run on a non-Win32/Win64 platform (UNIX, Mac, wireless)?
How does C# compare to C++ in terms of object-oriental design (inheritance, template, etc) on a large-scale project?
How does C# compare to C++ for client/server applications including various IPC concepts, multithreading, multiple processes, etc?
How does C# compare to C++ for processor-intensive applications including games, 3D-render, multimedia, etc?
I read some reviews on two books on C# by Jeff Prosise and Charles Petzold. In general, readers find the books GUI-oriented. How good is C# for performance-imperative applications?
Thanks,
Kuphryn
I often read about fully OO feature in languages including Java and C#.
How important is object-oriented paradigm?
Nonetheless, the good things seem to point to platform-independence rather than the OO paradigm.
How would you evaluate fully OO paradigm (C#, Java, etc) to a flexible programming language like C++ that gives the developer unsurpassed control without going to ASM?
Kuphryn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: paypal |
last post by:
For those of you in the San Francisco Bay Area ...
PHP5 & Web Services, The Present and the Future:
Andi Gutmans of Zend, will give an overview of the PHP phenomena and
how it has come to...
|
by: James Cameron |
last post by:
Hi I'm developing a program and the client is worried about future
reuse of the code. Say 5, 10, 15 years down the road. This will be a
major factor in selecting the development language. Any...
|
by: David Eng |
last post by:
> For many years now enterprise business application development has
> been the core area for the use of C++.
> Today a significant share to this segment has already been lost to
> SUN's Java...
|
by: Raj Sharma |
last post by:
Hai Guys,
I am new to the group well i have one doubt in my mind from a
long time, that what will be the Future of VC++, as full framework has
been now .NET so will it be easy to shift to C#, or...
|
by: Tom Gugger |
last post by:
AIM
EXECUTIVE
tgugger@aimexec.com
419-255-1900
We have a client that needs an embedded software engineer. This is
|
by: kuphryn |
last post by:
Hello
I am a C++ programmer with limited experience (design) using C#. From my experience, C#, like Java, is a derivative of C++. However, Microsoft is able to blend C# and C++, getting the best...
|
by: sri |
last post by:
Following is the requierement for Our client.Candidates based at USA
only need to apply.
Location :Pittsburgh State/Province Pennsylvania
Lead Software Engineer -
Device Side Development Key...
|
by: kamali.pillai |
last post by:
...:: Job Update from JobMaguz ::..
Today's Highlighted Job:
HCL Technologies:Software Engineer/Senior software Engineer
http://www.jobmaguz.com/viewFresherJobs.aspx?jobid=981&cycle=1
26 jobs...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| | |