The beauty of managed C++

Yes, I posted a lot of technical stuff, recently. Sorry. Maybe this is the last one. :) Take a look at this beautiful piece of code:
float GetFloats() __gc[]
{
float f __gc[] = new float __gc [Count];
System::Write("size:{0}", __box(Count) );
return f;
}
Did you say something? I only heard __gc blabla __gc blabla __box. :-)
And another thing, which makes me love this language:
cl : Command line error D8016 :
'/docDebug\' and '/clr:oldsyntax' command-line options are
incompatible
Oh come on!

six comments, already:

’/clr:oldsyntax’ :-) – you should try the ‘new’ syntax ;-) – we have already ported our mixed dll to the new syntax, cause one never knows when M$ will call the ‘old’ syntax obsolete...

Seems that someone at M$ went mad – using ^ and % is more than heretical (C++ guys should know what I mean)...
[Duncan Mac Leod] (link) - 29 11 05 - 00:49

Just stick with regular C++ and forget about managed anything or .NET. What advantages does it really provide you? C/C++ is going nowhere, have been THE programming languages and will be for a long time from now.
spintz () (link) - 29 11 05 - 14:21

Maybe I’ll switch to C++/CLI when I’ve got the full version of VC. Why managed C++? Because I need to write a .NET binding :)
niko - 29 11 05 - 22:04

Agree with Spintz.. .net goes against cross platform ethos, and is an annoying concession to those who want an “easier” life at the expense of distribution problems and proprietry languages..
Sharpfish () (link) - 29 11 05 - 23:08

Oh and Niko – I am sure you could put up a donation page on Irrlicht site to raise the funds to buy the full version of VC/Studio. You should get it in no time with the amount of goodwill towards your engine. :)
Sharpfish () (link) - 29 11 05 - 23:09


[Duncan Mac Leod] (link) - 30 11 05 - 01:30


Name:  
Remember personal info?
yes
no
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.