Last friday I had the opportunity to see Delphi for .NET on the meeting of the sdgn The sdgn started long long time ago as a Clipper user group. Over the years, amongst other, Delphi and .net have joined the show. The sdgn was alway great in Delphi, so it was a nice environment to meet Delphi for .net.
At this moment several betas of Delphi 8 are circulating. Delphi 8 is the same as Octane and Delphi for .NET. There will not be an other product to project your wishes or hopes upon. This is it ! It looks like C#-builder and houses the Delphi language targetting the .net platform. Not the Win32 platform, that will be added in a later release. You can port the source code of your Delphi VCL (the Delphi class libarary) app to Delphi 8. The VCL has been rewritten for the .net platform. A big difference between Delphi and a .net language is that you have to do your own memory management in Delphi and have a garbage collector in .net. Delphi still does have constructors destructors, their implementation is limited to the dispose pattern.
The actual demo was actually a total disaster. Part of this was due to the speaker having to switch to another (someone else's) laptop to do the show. This machine had another Delphi version and possibly (?!) another D8 beta installed. But even some of the simplest thing did not work. Importing a Delphi 6 project which had one form with just one button failed. Another problem was that the speaker didn't seem to know that much about .net. He raved about the Delphi datamodule but could not answer what that had to offer over a .net component. What did work was live data in the designer. Provided you use the Borland database provider. According to the speaker this provider is quite essential, alas he was unaware that .net has a oledb data provider.
The title of this post is from a new language feature of Delphi. In the current version fields scoped as private or protected are visible to other classes in the same unit (source file) Somewhat comparable to the internal scope in C#. To comply to the .net idea of private Delphi now also has strictly private and strictly protected. I don't like this either as it is further obfuscating the language. Now there is a destructor which does not destroy and there is a private which is not really private. If Delphi wants to make it into the .net area it will need the guts to do a cleanup. It will be a good tool to port existing Delphi apps to .net. But it's not inviting to build a future upon.
Maybe I am coming down to hard on Delphi 8. I havn't been to friendly on C# builder either. I really do care a lot about Delphi and consider it a bloody shame what Borland is doing to their own heritage. The presentation and the product made my toes curl. I am not the only one. For instance : during the presentation the speaker mumbled, after another failure, “we'll have to find a solution for that”. Somebody else spoke out aloud what I only dared to whisper : “Use Visual Studio...”
blog on,
Peter