I
Ian
I would like to hear from others who have considered and/or ported code from
traditional C++ to C++/CLI.
The class library I am considering porting to C++/CLI was written in
traditional C++ with STL and a touch of MFC. It represents the back end to
my applications and, among a number of other things, it performs all file
I/O and data management operations (i.e. no GUI). Why would I consider
porting it to C++/CLI when it works just fine now? I consider myself to be
somewhat less than the average developer because I have no formal training
in software development but rather picked it up out of necessity. When MS
created dot.net it probably had guys like me in mind. Dot.net promises to
make it much easier and faster for me to develop applications. While
develpers more talented than myself can easily get by with pre-dot.net
technology, I have not been so fortunate. The information I've read so far
indicates it will be much easier for me to work with SQL, XML, data bases
and, you name it, in dot.net.
Having said the above, my current impression (and admittedly I have only
limited experience working with C++/CLI) is a port is clearly not a trival
task particularly because the libarary makes extensive use of STL with a
touch of MFC (i.e. CString and CFile. I am beginning to think it would be
better to rewrite the library from scratch over a period of 6-10 months then
to try porting existing code. I'll spend another week or two running more
tests and doing some more research. But I would appreciate hearing from
other C++ user about their experiences in porting their code to C++/CLI (or
even C# for that matter).
Thank you in advance for your input and comments,
Ian
traditional C++ to C++/CLI.
The class library I am considering porting to C++/CLI was written in
traditional C++ with STL and a touch of MFC. It represents the back end to
my applications and, among a number of other things, it performs all file
I/O and data management operations (i.e. no GUI). Why would I consider
porting it to C++/CLI when it works just fine now? I consider myself to be
somewhat less than the average developer because I have no formal training
in software development but rather picked it up out of necessity. When MS
created dot.net it probably had guys like me in mind. Dot.net promises to
make it much easier and faster for me to develop applications. While
develpers more talented than myself can easily get by with pre-dot.net
technology, I have not been so fortunate. The information I've read so far
indicates it will be much easier for me to work with SQL, XML, data bases
and, you name it, in dot.net.
Having said the above, my current impression (and admittedly I have only
limited experience working with C++/CLI) is a port is clearly not a trival
task particularly because the libarary makes extensive use of STL with a
touch of MFC (i.e. CString and CFile. I am beginning to think it would be
better to rewrite the library from scratch over a period of 6-10 months then
to try porting existing code. I'll spend another week or two running more
tests and doing some more research. But I would appreciate hearing from
other C++ user about their experiences in porting their code to C++/CLI (or
even C# for that matter).
Thank you in advance for your input and comments,
Ian