|
From: Ioannis V. <no...@ya...> - 2002-02-09 06:49:25
|
I have not depthen extremely on the subject, but CLR is more efficient than JVM, at least the time it was designed (JVM may have adopted CLR features since then). For example a program when run the first time on CLR gets many of its parts compiled permanently to win32 code so at the end the .exe is something like an hybrid between binary code and bytecode. Also it is not restricted to one language but all languages share a common hierarchy and can interoperate with each other. So you pick e.g. C and another person Javascript and you can build a program using both languages. The good in C/C++ case is that by default VC++ 7 does not produce bytecode but pure 32-bit exe (it is the only language that can produce binary code in VS). When you produce pure binary code it is called unmanaged code and when you produce bytecode your source code is called managed. The other great thing with C/C++ in .NET world is that you can create pure binary code (that is it runs outside the virtual machine) so as to have the maximum efficiency and create a .NET interface for the other languages to interoperate with your code. The bad news is that VC++ 7 will not be so ANSI/ISO C++ compliant (probably they do not care/want standard compliance a lot) but will be more than VC++ 6. I had heared rumors during VS 7 development that VC++ 7 will not support iterators thus entering useless almost all the STL and template mechanism. But things may have changed since then (but i do not think so). They had stated that "100% ANSI/ISO conformance is not a goal". Anyway the important thing here is .NET and language interoperation, what IDE one should use VC++, C++ Builder, e.t.c. is personal choice. VC++ 7 is now in reality visual since it provides ala VB IDE (ready buttons e.t.c.) but it lacks a lot even from C++ Builder 5 which has anything as a component (http connections e.t.c.). That means that you will have to type a lot again to use the system extensions in VC++ 7. This month is also to be released C++ Builder 6 from Borland which i consider extremelly better for Windows C/C++ development. Also there is going to be C++ Builder for Linux. In C++ Builder 6 you can create win applications that compile both in Windows and X-Windows world using CLX library. It is the same as it happens now in Delphi 6 and Kylix (Delphi for Linux) and Collin has started creating the new Dev-C++ for both X-Windows and Windows. in C++ Builder 6 you can create even X-Windows looking applications running in Windows and in C++ Builder for Linux Windows looking applications running in X-Windows. In a few words, you create an application dragging components like buttons e.t.c. on a form and the program compiles both in windows and x-windows and looks the same. You can download a trial version of C++ Builder at: <http://www.borland.com/downloads/> http://www.borland.com/downloads/ If you have any questions, ask. :) Ioannis * Ioannis Vranos * Programming pages: <http://www.noicys.d2g.com/> http://www.noicys.d2g.com * Alternative URL: <http://run.to/noicys> http://run.to/noicys -----Original Message----- From: Yeoh HS [mailto:ye...@ya...] Sent: Saturday, February 09, 2002 8:36 AM To: Ioannis Vranos Subject: Re: [Dev-C++] infos on NET This sounds familiar. Another virtual machine and auto garbage collector! :-) Sorry if this is off-topic, just a thought: how different is this CLR from JVM? Regards, Yeoh |