Re: VB6's advantage over visual C++
thanks for the reply
ah platform independence refers to dependence on API calls to the underlying OS, and this platform independence is provided by the extra layer in java's case it is the JVM?
what is the the JVM equivalent in .net
are tere seperate JVM's for windows and linux?
c# is MS's answer to java, does VB.net come in as a GUI for the rest of the .net family?
or is its USP still RAD?
Re: VB6's advantage over visual C++
VB.NET and C# differ only in syntax, and a few details (VB has things like AddHandler and Handles to make up for its lack of delegates, C# has other features from C/C++ such as bitshifting and pointers).
Separate OS-specific JVM's (Java) and JIT compilers (.NET) are required yes. These are the tools that convert platform-independent code into platform-specific code.
The JIT compiler is the .NET JVM equivalent. When you execute a .NET assembly the JIT compiler compiles it to platform-specific code and performs some optimisations, also often platform-specific.
C# is just as RAD as VB.NET IMO. The whole idea of a framework is to simplify and speed up the development process. VB6 does that, as do .NET, Java, Delphi, etc.
Re: VB6's advantage over visual C++
I hadn't realized it, but VB.NET has the >> and << bit-shift operators, so that difference isn't there.
They don't work exactly the same as they do in ASM, though. The bits aren't just shifted. If the most significant bit is a 1, the 1 is propagated into the high bits as the bits are shifted lower.