Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2005

Tip: Looking for answers? Try searching our database.

Why use c++ (instead of c#)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ricardo - 12 Jul 2005 11:12 GMT
I think of using c++ instead of c# was about speed, but some tells me that
it's not much difference. So, is that only to access the mfc or are others
things that I can do with c++ .net that c# dows not. I think of using directx
for games in c# will be slow, but now every game is made on managed directx
(right?)...

thx...
Nishant Sivakumar - 12 Jul 2005 12:24 GMT
With C++/CLI, you have the following advantages over C# :-

1. Fastest native interop option among all CLI languages through IJW
2. Mixed mode assemblies (native + managed)
3. STL/CLR
4. Deterministic destruction syntax (more intuitive than the C# using block
semantics)
5. Ability to mix with existing MFC, ATL, WTL, STL code-repositories.
6. Continue using the language you are most familar with

Signature

Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com

>I think of using c++ instead of c# was about speed, but some tells me that
> it's not much difference. So, is that only to access the mfc or are others
[quoted text clipped - 5 lines]
>
> thx...
Ondrej Spanel - 13 Jul 2005 07:57 GMT
> for games in c# will be slow, but now every game is made on managed
> directx

Many games are still developed as native applications, especially those
which are trying to achieve top performance. If Managed code is used in such
games, it is mostly in areas like high-level AI or scripting.

Regards
Ondrej

Signature

---------------------------------------
Ondrej Spanel
Lead Programmer
Bohemia Interactive Studio
www.bistudio.com
www.flashpoint1985.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.