I
Ioannis Vranos
I have initiated a similar discussion thread in clc++m, however because
of the "m" in the name, the discussion is progressing slowly, so I am
setting another thread here.
Well the story is this. There is an official ISO standard about CLI
runtime environment, which is about a standardised *multilingual*
virtual machine environment together with its assembly language. There
are two CLI compliant virtual machines today, .NET framework in the
Windows world, and Mono in GNU/Linux.
There is also an official ISO C#/CLI standard that describes C# and how
it works in CLI environments.
There is also an upcoming C++/CLI standard (currently draft), that is a
standardised set of *extensions* to ISO C++ which will make C++ programs
to take advantage of the CLI abilities.
Some examples are:
// Garbage collected class
ref class whatever
{
// ...
};
whatever ^h=gcnew whatever;
// A vector with GC handles
vector<Button ^>buttonArray;
Also we will be able to create ref objects in the stack (=with
deterministic finalisation).
Check a nice article about this *standardised* syntax:
http://www.codeguru.com/columns/Kate/article.php/c7405/
The draft standard is free to download, and you can download the latest
version from here:
http://www.plumhall.com/C++-CLI Standard.pdf
(ref page: http://www.plumhall.com/public-drop.htm)
So, what do you think of this upcoming standard?
Regards,
Ioannis Vranos
of the "m" in the name, the discussion is progressing slowly, so I am
setting another thread here.
Well the story is this. There is an official ISO standard about CLI
runtime environment, which is about a standardised *multilingual*
virtual machine environment together with its assembly language. There
are two CLI compliant virtual machines today, .NET framework in the
Windows world, and Mono in GNU/Linux.
There is also an official ISO C#/CLI standard that describes C# and how
it works in CLI environments.
There is also an upcoming C++/CLI standard (currently draft), that is a
standardised set of *extensions* to ISO C++ which will make C++ programs
to take advantage of the CLI abilities.
Some examples are:
// Garbage collected class
ref class whatever
{
// ...
};
whatever ^h=gcnew whatever;
// A vector with GC handles
vector<Button ^>buttonArray;
Also we will be able to create ref objects in the stack (=with
deterministic finalisation).
Check a nice article about this *standardised* syntax:
http://www.codeguru.com/columns/Kate/article.php/c7405/
The draft standard is free to download, and you can download the latest
version from here:
http://www.plumhall.com/C++-CLI Standard.pdf
(ref page: http://www.plumhall.com/public-drop.htm)
So, what do you think of this upcoming standard?
Regards,
Ioannis Vranos