Re: VB6, VB2005, or Something Else?
- From: Andre Kaufmann <andre.kaufmann.bei@xxxxxxxxxxx>
- Date: Sat, 04 Mar 2006 07:22:32 +0100
Dan Barclay wrote:
"Andre Kaufmann" <andre.kaufmann.bei@xxxxxxxxxxx> wrote in message news:%23ijW3ajPGHA.3888@xxxxxxxxxxxxxxxxxxxxxxxRalph wrote:"Robin" <Robin@.com> wrote in messageYes. They could have done that. But IMHO it wouldn't have been that simple as it has been for the Delphi group. VB6 is very COM centric and
Thanks, for feedback.
The really, really interesting feature of Delphi's .Net Stuff is that it
well illustrates what MS could have, might have, done with VB if they had
wanted to.
Whaaaa??? VB is COM under the hood but it is *not* COM to the developer.
!!! Only to prevent religious wars - the following should not be a "pro" statement for what has happened to VB6 !!!
A variable that changes automatically it's type is not (like) COM to the developer ? Reference counted resource management is not like COM ?
I admit that I don't know VB6 that well, but my VB code calling to C++ code and vice versa has been very COM centric - regarding the C++ side.
And even if it is only COM under the hood, the memory management is quite different to .NET. Reference counting and garbage collection. In Delphi the delete calls are mapped to Dispose calls. I wonder how this would be accomplished by a VB6.NET, if there aren't such calls ? Basic code would be simply portable between VB6 and .NET, no doubt, but there would be issues with large applications.
The language itself, along with the product as a whole existed quite nicely before it was COM. It didn't become COM until VB4.
I only stated that VB wouldn't have been that "easily" portable as Delphi has been. The language yes, but not all aspects. Doesn't mean that it was a simple task for the Delphi crew. They did a quite good job, no doubt.
Delphi code dealing heavily with pointers isn't that portable either.
Hell, much of the language moved forward nicely since CP/M. We thought we had some problems at VB1 and VB4... until our recent recalibration on the definition of "problem".
Dan
To sum it up, the VB6 code itself would have been portable to .NET without language changes, not 100% but at a much higher percentage than VB.NET. I only stated that it wouldn't have been so simple like in Delphi. Delphi and C# and .NET have been designed by the same developer, so they have more in common than VB and .NET.
Andre
.
- Follow-Ups:
- Re: VB6, VB2005, or Something Else?
- From: Dan Barclay
- Re: VB6, VB2005, or Something Else?
- References:
- Re: VB6, VB2005, or Something Else?
- From: Robin
- Re: VB6, VB2005, or Something Else?
- From: Ralph
- Re: VB6, VB2005, or Something Else?
- From: Andre Kaufmann
- Re: VB6, VB2005, or Something Else?
- From: Dan Barclay
- Re: VB6, VB2005, or Something Else?
- Prev by Date: Math problem
- Next by Date: Re: Math problem
- Previous by thread: Re: VB6, VB2005, or Something Else?
- Next by thread: Re: VB6, VB2005, or Something Else?
- Index(es):
Relevant Pages
|