www.digitalmars.com         C & C++   DMDScript  

D - C++ garbage collector extensions in new VS.net

reply Roberto Mariottini <Roberto_member pathlink.com> writes:
Hi all,
In the Borland newsgroups, in the article
http://groups.google.it/groups?hl=it&lr=&ie=UTF-8&selm=407ed150%40newsgroups.borland.com
the author mentioned a new version of Microsoft C++ compiler for the .net
platform.
A little quote:

Having just attended Herb Sutters talk at the ACCU spring conference on what is
coming up in Widbey and .NET [...] the new extended C++ spec that he spoke about
[...] is effectively an extended C++ now where you can either allow the garbage
collector to free up your objects, or do it yourself. It looks like it will
overcome all the criticisms that people have with managed C++ (but we will see
on that one). It seems that they have been talking to lots of C++ people about

compiler will be available for free download in the next week -
http://msdn.microsoft.com/visualc/).
He also showed Quake running under .NET using the (slightly modified - took a
few days) downloadable code and said that under some processors (Centrino) apps
run 10% faster under .NET.

I think the idea "you can either allow the garbage collector to free up your
objects, or do it yourself" is very similar to the D way of doing.

Ciao
Apr 16 2004
next sibling parent Dave Sieber <dsieber spamnot.sbcglobal.net> writes:
Roberto Mariottini <Roberto_member pathlink.com> wrote:

 I think the idea "you can either allow the garbage collector to free
 up your objects, or do it yourself" is very similar to the D way of
 doing. 
But their garbage collector will still be available only in the .NET runtime (CLR), and Managed C++ will still be compiled to ILM, right? That's another criticism people have (myself included) about Managed C++, and another reason why D is attractive. -- dave
Apr 16 2004
prev sibling parent reply "Walter" <walter digitalmars.com> writes:
"Roberto Mariottini" <Roberto_member pathlink.com> wrote in message
news:c5ocns$2s6g$1 digitaldaemon.com...
 I think the idea "you can either allow the garbage collector to free up
your
 objects, or do it yourself" is very similar to the D way of doing.
I expect a lot of D innovations are going to get folded into C++ <g>.
Apr 16 2004
parent reply "Matthew" <matthew stlsoft.org> writes:
I think that's more likely than you think. :)

"Walter" <walter digitalmars.com> wrote in message
news:c5p9o0$16ve$1 digitaldaemon.com...
 "Roberto Mariottini" <Roberto_member pathlink.com> wrote in message
 news:c5ocns$2s6g$1 digitaldaemon.com...
 I think the idea "you can either allow the garbage collector to free up
your
 objects, or do it yourself" is very similar to the D way of doing.
I expect a lot of D innovations are going to get folded into C++ <g>.
Apr 16 2004
parent "Walter" <walter digitalmars.com> writes:
Don't keep us in suspense, what do you mean? I know that DbC has been
formally proposed now. But C++ will never really catch up to D as long as
C++ is not willing to say goodbye to antiquated notions like the inclusion
model rather than modules. Just adding on some D features isn't enough.

"Matthew" <matthew stlsoft.org> wrote in message
news:c5pmms$1pv9$1 digitaldaemon.com...
 I think that's more likely than you think. :)

 "Walter" <walter digitalmars.com> wrote in message
 news:c5p9o0$16ve$1 digitaldaemon.com...
 "Roberto Mariottini" <Roberto_member pathlink.com> wrote in message
 news:c5ocns$2s6g$1 digitaldaemon.com...
 I think the idea "you can either allow the garbage collector to free
up
 your
 objects, or do it yourself" is very similar to the D way of doing.
I expect a lot of D innovations are going to get folded into C++ <g>.
Apr 18 2004