Re: VB6, VB2005, or Something Else?
- From: Michael B. Johnson <mjohnson@xxxxxxxxxxx>
- Date: Wed, 12 Apr 2006 10:14:41 -0500
On Wed, 12 Apr 2006 07:50:16 +0200, Andre Kaufmann
<andre.kaufmann.bei@xxxxxxxxxxx> wrote:
Michael B. Johnson wrote:
On Tue, 11 Apr 2006 13:12:31 -0500, Paul Clement
<UseAdddressAtEndofMessage@xxxxxxxxxxxxxx> wrote:
[...]
object oriented. You mean to say they *couldn't* have implemented polymorphism
in the existing language? Why not?
Procedure Overloading? Why not?
They could have done this. But this would have IMHO broken compatibility
with older VB code too. COM doesn't support all that features.
You don't think name mangling could have been implemented in the back end
runtime linker/interpreter/CLR, similar to C++? I'm not so sure you understand
how compilers work. You don't think that name mangled procedures could have been
exposed via COM?
Or if necessary, you don't think that backwards compatibility could have been
maintained and .NET made accessible to old code?
I respectfully disagree.
I don't understand the object model in VB6 very well. Obviously a single
class module represents a class (?). But I know the internal
That much is clear: you don't know VB6 very well, or else you wouldn't have
answered as you have. No matter, at least you appear to listen, to be
reasonable.
Adding polymorphism to COM might be possible, but would result in a very
ugly implementation - performance and usability wise.
You needn't add polymorphism to COM, you need only add it to the compiler. COM
is essentially an interface, not a compiler.
.NET is all about language interoperability, enhancing the COM model
would break compatibility with all languages currently using the COM
object model.
You don't think it could adapt to name mangling?
.NET objects? Why not?
Certainly possible. Though COM objects are reference counted and .NET
objects are managed. Which is not quite the same.
What *is* the COM interop, isn't it .NET interfacing to COM? You don't think
that the reverse of the COM interop is technically possible?
And VB Classic already
*has* object classes...Why couldn't better backwards compatibility have been
retained? Why couldn't the extensions have been true extensions to the language
instead of a different language?
As I've already posted IMHO true backwards compatibility could have been
done by introducing some kind of mixed mode for VB as it's the case for
C++.
Ok. Thank you.
Most VB applications are GUI centric. All these applications could only
be compiled to native code or only to managed code if you are using .NET
controls. By mixing them you would loose the ability to compile to both
native and managed.
I'll stipulate for now (without blanket acceptance) that mixed native/managed
code sections in the same application might be difficult to automate for VB, but
maybe provision could have been made for us to choose for each application,
without dropping support for old apps?
That shouldn't be an excuse for all the unnecessary changes, but all
applications using GUI centric code would IMHO have been broken anyways,
even if the language would have been 100% compatible.
Maybe, but dropping support for VB Classic completely sure wasn't a good move.
.NET is a different platform. Compiling the "old" code to .NET is a nice
feature but IMHO doesn't help that much. If you are using .NET you are
I think it would have helped gain acceptance for .NET. But the other matters of
EULA, DRM and "*we* own ~your~ data" might need to be reversed.
tied to it -> no way back to native code. There's no single language
which is able to do that. Only native .NET compilers would make that
possible - IMHO.
I see no obvious technical reason that a hybrid compiler wouldn't be possible. I
see lots of marketing and selfish strategic reasons this was not done. IMHO.
Regards,
_______________________
Michael B. Johnson
.
- Follow-Ups:
- Re: VB6, VB2005, or Something Else?
- From: Andre Kaufmann
- Re: VB6, VB2005, or Something Else?
- From: Robert Conley
- Re: VB6, VB2005, or Something Else?
- References:
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Gary Nelson
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Gary Nelson
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Gary Nelson
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Michael B . Johnson
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Michael B . Johnson
- Re: VB6, VB2005, or Something Else?
- From: Andre Kaufmann
- Re: VB6, VB2005, or Something Else?
- Prev by Date: Printing problems
- Next by Date: Re: Help with muliplication by time!
- Previous by thread: Re: VB6, VB2005, or Something Else?
- Next by thread: Re: VB6, VB2005, or Something Else?
- Index(es):
Relevant Pages
|
Loading