Main Page | Report this Page
.NET DotNet Forum Index  »  Visual C++ Forum  »  Rumors of reduced support for C++ /CLI...
Page 1 of 2    Goto page 1, 2  Next

Rumors of reduced support for C++ /CLI...

Author Message
Howard Swope...
Posted: Tue Aug 11, 2009 11:30 am
Guest
I was talking to a friend and he was telling me of reduced support for C++
/CLI in VS 2010. Is there an truth to this? I should learn better than to
listen to these type
 
Howard Swope...
Posted: Tue Aug 11, 2009 12:01 pm
Guest
Sorry... Fat clicked.

Anyway...

My friend was telling me that there is going to be reduced support for C++ /
CLI in VS 2010. Every time I listen to this kind of technology ending
thing, I turns out to be untrue. So I don't know how much stock to put into
it. But C++ / CLI is a fantastic language. It is invaluable to us in our
work. It allows us to expose our underlying DirectX based graphics engine to
people writing C# code. And it allows us to do it elegantly.

My favorite technologies are tools that allow one to move seamlessly at
various levels of complexity. I remember working on an embedded project
where I was writing a device driver that had in-line assembly language that
was embedded in a C++ class that triggered an interrupt routine written in
C. These services were accessed by a .Net compact framework application and
a PC based application, used to program the device, that was communicating
via DCOM. I was able to move seamlessly at the different levels of
complexity and use the right tool for the job. This was incredibly
empowering.

This is the kind of power that C++ /CLI has.

Is the trend to no longer embrace these principals. One can't embed assembly
language in x64 C code, and now I understand C++ / CLI is getting shorted.

We need to keep all the avenues open
 
Ben Voigt [C++ MVP]...
Posted: Tue Aug 11, 2009 12:09 pm
Guest
AFAIK C++/CLI has never been usable with compact framework, even with
/clr:pure. So what did you do for NET.CF? Was that the DCOM you mentioned?

"Howard Swope" <noreply at (no spam) mail.com> wrote in message
news:72D7C065-C484-4753-AFC0-49390DD5D81F at (no spam) microsoft.com...
Quote:
Sorry... Fat clicked.

Anyway...

My friend was telling me that there is going to be reduced support for C++
/ CLI in VS 2010. Every time I listen to this kind of technology ending
thing, I turns out to be untrue. So I don't know how much stock to put
into it. But C++ / CLI is a fantastic language. It is invaluable to us in
our work. It allows us to expose our underlying DirectX based graphics
engine to people writing C# code. And it allows us to do it elegantly.

My favorite technologies are tools that allow one to move seamlessly at
various levels of complexity. I remember working on an embedded project
where I was writing a device driver that had in-line assembly language
that was embedded in a C++ class that triggered an interrupt routine
written in C. These services were accessed by a .Net compact framework
application and a PC based application, used to program the device, that
was communicating via DCOM. I was able to move seamlessly at the different
levels of complexity and use the right tool for the job. This was
incredibly empowering.

This is the kind of power that C++ /CLI has.

Is the trend to no longer embrace these principals. One can't embed
assembly language in x64 C code, and now I understand C++ / CLI is getting
shorted.

We need to keep all the avenues open
 
Edward Diener...
Posted: Sat Aug 15, 2009 10:27 am
Guest
Howard Swope wrote:
Quote:
I was talking to a friend and he was telling me of reduced support for
C++ /CLI in VS 2010. Is there an truth to this? I should learn better
than to listen to these type

Since support for C++/CLI from MS has been about NIL, I can't imagine
what you mean by "reduced support".
 
Alexei Zakharov...
Posted: Mon Aug 17, 2009 3:29 am
Guest
"Edward Diener" <eddielee_no_spam_here at (no spam) tropicsoft.com> wrote in message
news:#8SLgVcHKHA.4024 at (no spam) TK2MSFTNGP02.phx.gbl...

Quote:
Since support for C++/CLI from MS has been about NIL, I can't imagine what
you mean by "reduced support".

C++/CLI was once posed as one of the primary languages for .NET platform.
That was the reason for a big push away from "managed C++ extensions", as
the managed C++ was limited to interop only (from the practical point of
view). However when the language development almost completed (which was a
tremendous effort) it fell out of favor and now it's positioned as the
interop language again. The "rise and demise" of C++/CLI was fascinating to
watch. It was a fun language, but it didn't quite make it for various
reasons.
 
Edward Diener...
Posted: Tue Aug 18, 2009 4:55 pm
Guest
Alexei Zakharov wrote:
Quote:
"Edward Diener" <eddielee_no_spam_here at (no spam) tropicsoft.com> wrote in message
news:#8SLgVcHKHA.4024 at (no spam) TK2MSFTNGP02.phx.gbl...

Since support for C++/CLI from MS has been about NIL, I can't imagine
what you mean by "reduced support".

C++/CLI was once posed as one of the primary languages for .NET
platform. That was the reason for a big push away from "managed C++
extensions", as the managed C++ was limited to interop only (from the
practical point of view). However when the language development almost
completed (which was a tremendous effort) it fell out of favor and now
it's positioned as the interop language again. The "rise and demise" of
C++/CLI was fascinating to watch. It was a fun language, but it didn't
quite make it for various reasons.

The only reasons it did not make it is because Microsoft was determined
to tank it from the very beginning in facor of C#. It does not take a
genius to figure that out.

Thus we go the infamous loader lock bug for .Net 1.0/1.1 and the refusal
,starting with ASP .NET and going on now to wpf, wcf, wwf etc. and all
the new .Net technologies centered around C#, to put it on par with C#
as far as technology support.
 
Ben Voigt [C++ MVP]...
Posted: Wed Aug 19, 2009 10:57 am
Guest
Quote:
Microsoft purposely created that situation in order to promote C#.
They never intended C++/CLI to be on par with C# as a first-class .Net
language, and they lied through their teeth when they originally said
so.
The only reason their C++ customers are still using native code is
because of their abysmal non-support of C++/CLI under .Net.

For office-style applications, perhaps. But there are many many problem
domains where having a heavyweight runtime engine doing things outside your
control is unacceptable. Writing native apps in C++ lets you get "close to
the metal". The native C++ compiler is still much much better at
optimization than the .NET runtime. Of course, this only matters for
programs which are CPU-bound, and many aren't (who cares whether processing
a menu click takes .01ms or .20ms ?).
 
Edward Diener...
Posted: Thu Aug 20, 2009 8:10 am
Guest
Ben Voigt [C++ MVP] wrote:
Quote:
Microsoft purposely created that situation in order to promote C#.
They never intended C++/CLI to be on par with C# as a first-class .Net
language, and they lied through their teeth when they originally said
so.
The only reason their C++ customers are still using native code is
because of their abysmal non-support of C++/CLI under .Net.

For office-style applications, perhaps. But there are many many problem
domains where having a heavyweight runtime engine doing things outside your
control is unacceptable. Writing native apps in C++ lets you get "close to
the metal". The native C++ compiler is still much much better at
optimization than the .NET runtime. Of course, this only matters for
programs which are CPU-bound, and many aren't (who cares whether processing
a menu click takes .01ms or .20ms ?).

I did not mean to claim that there were no uses for native code.

Nonetheless Microsoft's abysmal support for C++/CLI, along with their
almost complete refusal to fix C++/CLI bugs as if doing so would be a
vast concession to C++/CLI programmers rather than a responsibility
which one has when one sells a product, means that C++ programmers are
being herded as quickly as Microsoft hopes to using C# in order to write
..Net modules and applications.

Microsoft sold a lie to C++ programmers wanting to use it for .Net
applications, saying it would be a first class language on par with C#
and VB .Net. Language-wise it is better than C# but support-wise it is
far worse, and therefore largely unusable for the latest .Net
technologies. It's wonderful glue to the native Windows world, and one
can still create components, Windows form derived controls with it, as
well as Windows form and console applications, but that is about it. For
the latest .Net technologies, and ASP .Net, one needs C#, and I maintain
that this was Microsoft's intention from the very start in order to rope
C++ programmers to use C#.
 
Ben Voigt [C++ MVP]...
Posted: Thu Aug 20, 2009 9:38 am
Guest
Edward Diener wrote:
Quote:
Ben Voigt [C++ MVP] wrote:
Microsoft purposely created that situation in order to promote C#.
They never intended C++/CLI to be on par with C# as a first-class
.Net language, and they lied through their teeth when they
originally said so.
The only reason their C++ customers are still using native code is
because of their abysmal non-support of C++/CLI under .Net.

For office-style applications, perhaps. But there are many many
problem domains where having a heavyweight runtime engine doing
things outside your control is unacceptable. Writing native apps in
C++ lets you get "close to the metal". The native C++ compiler is
still much much better at optimization than the .NET runtime. Of
course, this only matters for programs which are CPU-bound, and many
aren't (who cares whether processing a menu click takes .01ms or
.20ms ?).

I did not mean to claim that there were no uses for native code.

Nonetheless Microsoft's abysmal support for C++/CLI, along with their
almost complete refusal to fix C++/CLI bugs as if doing so would be a
vast concession to C++/CLI programmers rather than a responsibility
which one has when one sells a product, means that C++ programmers are
being herded as quickly as Microsoft hopes to using C# in order to
write .Net modules and applications.

Microsoft sold a lie to C++ programmers wanting to use it for .Net
applications, saying it would be a first class language on par with C#
and VB .Net. Language-wise it is better than C# but support-wise it is
far worse, and therefore largely unusable for the latest .Net
technologies. It's wonderful glue to the native Windows world, and one
can still create components, Windows form derived controls with it, as
well as Windows form and console applications, but that is about it.
For the latest .Net technologies, and ASP .Net, one needs C#, and I
maintain that this was Microsoft's intention from the very start in
order to rope C++ programmers to use C#.

Well, you can use all these technologies from C++/CLI. Just not
code-mixed-with-the-markup. XAML isn't supported in the C++/CLI compiler,
but you can call WPF APIs. Same with ASP.NET -- You can't embed C++/CLI
code in your ASP pages, but you can build IIS components in C++/CLI.
Historically third-parties have been much better at providing wizards for
C++ than Microsoft, so it's not really a big loss.
 
Brian Muth...
Posted: Thu Aug 20, 2009 3:09 pm
Guest
Quote:
Nonetheless Microsoft's abysmal support for C++/CLI, along with their
almost complete refusal to fix C++/CLI bugs ...

What bugs are you referring to? I've always considered C++/CLI to be
extremely stable.
 
Brian Muth...
Posted: Fri Aug 21, 2009 11:06 am
Guest
"Brian Muth" <bmuth at (no spam) mvps.org> wrote in message
news:52AE762D-C744-42F3-AA13-A13C4C2CA790 at (no spam) microsoft.com...
Quote:
Nonetheless Microsoft's abysmal support for C++/CLI, along with their
almost complete refusal to fix C++/CLI bugs ...

What bugs are you referring to? I've always considered C++/CLI to be
extremely stable.


No answer?
 
Ben Voigt [C++ MVP]...
Posted: Fri Aug 21, 2009 11:56 am
Guest
"Brian Muth" <bmuth at (no spam) mvps.org> wrote in message
news:8AD0B70F-EFDB-4F5E-A0D7-D0CC49EA92C5 at (no spam) microsoft.com...
Quote:


"Brian Muth" <bmuth at (no spam) mvps.org> wrote in message
news:52AE762D-C744-42F3-AA13-A13C4C2CA790 at (no spam) microsoft.com...
Nonetheless Microsoft's abysmal support for C++/CLI, along with their
almost complete refusal to fix C++/CLI bugs ...

What bugs are you referring to? I've always considered C++/CLI to be
extremely stable.


No answer?

There are plenty of bugs in the compiler causing it to fail with perfectly
good source code. That doesn't make the resulting object code any more or
less stable when the compilation phase finishes though.

For example:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=332779
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=473352
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=239629
 
Edward Diener...
Posted: Sat Aug 22, 2009 2:06 pm
Guest
Ben Voigt [C++ MVP] wrote:
Quote:
Edward Diener wrote:
Ben Voigt [C++ MVP] wrote:
Microsoft purposely created that situation in order to promote C#.
They never intended C++/CLI to be on par with C# as a first-class
.Net language, and they lied through their teeth when they
originally said so.
The only reason their C++ customers are still using native code is
because of their abysmal non-support of C++/CLI under .Net.
For office-style applications, perhaps. But there are many many
problem domains where having a heavyweight runtime engine doing
things outside your control is unacceptable. Writing native apps in
C++ lets you get "close to the metal". The native C++ compiler is
still much much better at optimization than the .NET runtime. Of
course, this only matters for programs which are CPU-bound, and many
aren't (who cares whether processing a menu click takes .01ms or
.20ms ?).
I did not mean to claim that there were no uses for native code.

Nonetheless Microsoft's abysmal support for C++/CLI, along with their
almost complete refusal to fix C++/CLI bugs as if doing so would be a
vast concession to C++/CLI programmers rather than a responsibility
which one has when one sells a product, means that C++ programmers are
being herded as quickly as Microsoft hopes to using C# in order to
write .Net modules and applications.

Microsoft sold a lie to C++ programmers wanting to use it for .Net
applications, saying it would be a first class language on par with C#
and VB .Net. Language-wise it is better than C# but support-wise it is
far worse, and therefore largely unusable for the latest .Net
technologies. It's wonderful glue to the native Windows world, and one
can still create components, Windows form derived controls with it, as
well as Windows form and console applications, but that is about it.
For the latest .Net technologies, and ASP .Net, one needs C#, and I
maintain that this was Microsoft's intention from the very start in
order to rope C++ programmers to use C#.

Well, you can use all these technologies from C++/CLI. Just not
code-mixed-with-the-markup.

In other words I can't use VS's visual tools with these technologies and
C++/CLI. How lucky can I be !

Quote:
XAML isn't supported in the C++/CLI compiler,
but you can call WPF APIs.

I am overjoyed !

Quote:
Same with ASP.NET -- You can't embed C++/CLI
code in your ASP pages, but you can build IIS components in C++/CLI.

Ditto !

Quote:
Historically third-parties have been much better at providing wizards for
C++ than Microsoft, so it's not really a big loss.

You have got to be kidding !
 
Edward Diener...
Posted: Sat Aug 22, 2009 2:30 pm
Guest
Brian Muth wrote:
Quote:
Nonetheless Microsoft's abysmal support for C++/CLI, along with their
almost complete refusal to fix C++/CLI bugs ...

What bugs are you referring to? I've always considered C++/CLI to be
extremely stable.

Here are bug report numbers:

101670
101671
101674
101677
101678
192619
199186
205446
216882
249881
275035
295385
344776
362782
431084

What is most amusing is that you equate C++/CLI stability as an
indicator of good support. I, OTOH, consider good support the ability to
implement features and to fix bugs.

Clearly MS's decision not to support the latest .Net technologies for
C++/CLI in VS's visual environment, and their equally fatuous insistence
that real C++/CLI bugs being reported to them should not be fixed
because it they do not meet the "triage requirements", which is just MS
speak for "we don't want to fix them" and nothing more, indicates to me
abysmal support for C++/CLI.
 
Edward Diener...
Posted: Sat Aug 22, 2009 2:34 pm
Guest
Ben Voigt [C++ MVP] wrote:
Quote:


"Brian Muth" <bmuth at (no spam) mvps.org> wrote in message
news:8AD0B70F-EFDB-4F5E-A0D7-D0CC49EA92C5 at (no spam) microsoft.com...


"Brian Muth" <bmuth at (no spam) mvps.org> wrote in message
news:52AE762D-C744-42F3-AA13-A13C4C2CA790 at (no spam) microsoft.com...
Nonetheless Microsoft's abysmal support for C++/CLI, along with
their almost complete refusal to fix C++/CLI bugs ...

What bugs are you referring to? I've always considered C++/CLI to be
extremely stable.


No answer?

There are plenty of bugs in the compiler causing it to fail with
perfectly good source code. That doesn't make the resulting object code
any more or less stable when the compilation phase finishes though.

For example:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=332779

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=473352

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=239629

See my list in this thread and I am sure there are plenty more also.

For MS the bug never meets the "triage requirements" to fix it. Of
course that terminology is just invented MS speak for "we don't feel
like fixing the bug" and nothing more.
 
 
Page 1 of 2    Goto page 1, 2  Next
All times are GMT - 5 Hours
The time now is Tue Dec 08, 2009 6:46 am