-
December 10th, 2008, 07:21 PM
#1
C++0x a .Net language ?
Hello
This question was just posted on the VC Blog (for inclusion on this Slow Chat) http://blogs.msdn.com/vcblog/archive....aspx#9192112:
"Can someone ask if Microsoft is going to make C++0x a .Net language and why not? It sure would be nice to not have to keep switching languages."
Now I probably would like to have some more context/detail in the question but the simple answer would be that C++ Object Model has some fundamental differences to the .NET Object Model and that is why we have C++/CLI. I am sure this answer will probably be insufficient but may be some follow up questions will clarify exactly what the question is.
Thanks
Damien
-
December 10th, 2008, 09:49 PM
#2
Re: C++0x a .Net language ?
I can not see why NATIVE C++ would (or should ) be impacted....
"C++ (10.0)/CLI" or is it "C++/CLI 10.0" is (I am assuming) going to be included in the release for Managed Code development....
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 11th, 2008, 04:36 PM
#3
Re: C++0x a .Net language ?
Yes, C++/CLI is part of Visual C++ in VC10.0
Thanks,
Ayman Shoukry
Visual C++ Team
-
December 11th, 2008, 08:29 PM
#4
Re: C++0x a .Net language ?
Hello
Cross posting from the VC Blog (again)
Thanks
Damien
--
Thanks, Damien. I don't know why I can't log in.
Anyhow, you answered the question I meant to ask, but I don't think you answered it adequately.
I believe it to be an unnecessary burden to have to develop with different languages in different platforms and I feel it leads to a "Jack of all trades master of none" type of skillset. It would be nice if the .Net tools offered more support to C++ especially since C# doesn't have destructors among other oddities.
As I see it, the main additions to C++/CLI over C++ are reference handles (gc memory) and events/delegates. Why can't the new, similar features in C++0x be implemented using what was done with C++/CLI but preserving the C++0x syntax?
IMHO, you've put too much emphasis on RAD features. While C++/CLI is great for migrating into .Net, I think you'd get much more support for .Net if you had full support for C++ whether it be C++/CLI or C++0x.
-
December 12th, 2008, 08:39 AM
#5
Re: C++0x a .Net language ?
OFF TOPIC:
Damien - please have the person email me the email and/or ID they were trying to register on Codeguru. They can email me at webmaster .at. Codeguru .dot. com. We'll look into the registration issue.
Thanks,
Brad
-----------------------------------------------
Brad! Jones,
Yowza Publishing
LotsOfSoftware, LLC
-----------------------------------------------
-
December 12th, 2008, 11:02 AM
#6
Re: C++0x a .Net language ?
 Originally Posted by Cross Post from Blog
I believe it to be an unnecessary burden to have to develop with different languages in different platforms and I feel it leads to a "Jack of all trades master of none" type of skillset..
Actually as a long time professional developer I believe that having different languages on a single platform as well as having a common cross platform set of languages are both strong benefits.
It is not at all uncommon for me to develop a single .NET solution using C#,VB.NET, C++/CLI all in the same executable (with the occasional F#, Ruby.Net, and others). This ability has really saved me time [and therefore $$$].
On the other hand, attempting to push platform/environment specific features into a common language (especially C++) is IMPO a major mistake. If I write C++ (99 or 0x) code, I want to make sure that it will run properly on every platform from embedded systems to large servers running radically different operating systems and with different processor architectures.
The two things I would like to see:
1) Have all extenstions to C++ default to DISABLED.
2) Have common UI experience for equivilant concepts. Visual Studio has gone a looooong way in this regard aspeect of development, but there still are a few "disconnect points". I realize that this goal is difficult (and perhaps impossible) to achieve, but it would be so "sweet".
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|