分享
 
 
 

Delphi .NET ?

王朝delphi·作者佚名  2006-01-08
窄屏简体版  字體: |||超大  

Delphi .NET?

Bill Hatfield

When Delphi 1.0 was released in March of 1995 it made a huge splash. And why not? It was an elegant, very well-designed development environment that used a language that was customized for the environment and for fully object-oriented programming. Many features that Visual Basic developers had been begging Microsoft for years to include were implemented in Delphi—not the least of which was truly compiled code!

So now, for the first time in many years, Microsoft had a serious challenger in the development tools arena. Since the decline in market-share of Borland C++ there had really been no serious contenders. Now Delphi burst on to the scene with a vengeance.

Microsoft responded by identifying and copying as many of Delphi's best features as it could. Suddenly Visual Basic was compiled, had true objects, and even the property set/get methods looked familiar. One feature after another was stolen. And not only features—Anders Hejlsberg, the chief architect of Delphi, left Inprise and went to work for Microsoft (for an obscenely high salary, no doubt!).

But through all of this, I was convinced that some of the truly best features of Delphi would never be stolen:

• Delphi is written in Delphi—it's more than a trite phrase or marketing slogan. It's undeniable proof that Inprise so completely believed in this tool and this language that they were willing to develop their premier product in it.

• Delphi's elegant hierarchy of base objects inherited to the visual and non-visual components that you use in the environment. And the fact that you can choose an object anywhere in the hierarchy and begin your own inheritance line to expand and enhance it.

• The ease with which you can implement low-level API calls, COM interaction, and a variety of other tasks which Visual Basic simply couldn't touch.

Microsoft couldn't steal these features. They were part-and-parcel of Delphi and the way it was designed from the outset. Microsoft would have to rewrite everything to implement features like this. They would never do that. It would be too expensive.

I was wrong.

Microsoft, even as I write, is in the process of doing all of this and more. They are truly rewriting everything from the ground up. It's called the Microsoft .NET initiative.

But we're Delphi people! Why should we care what Microsoft does? Because your livelihood could depend on it! Don't get me wrong. I'm not saying Delphi is dead. Not by any means. But Inprise and the Delphi community must understand how the industry is changing in order to know how to respond and how to find a place within it.

The .NET framework is a hierarchy of objects that provide a variety of services from database access to COM. It provides an easy way for you to access, inherit, and extend a broad host of functionality. And it will be built into Windows and made available to any programming language in Visual Studio. Anders Hejlsberg has clearly had a major hand in the design of .NET!

And speaking of programming languages, the next version of Visual Basic finally gets true inheritance and polymorphism. It also gains the ability to do a whole bunch of low-level things that it could never do before, including multi-threading. It's actually been completely re-written from the ground up. In the process, they got rid of many of the annoying and inconsistent syntax that's been a part of the language since the early days. And, you guessed it—it was re-written in Visual Basic. How is that possible? For that you need to understand a little more about the way Visual Studio will work.

Visual Studio now becomes much more than a hodge-podge collection of all of Microsoft's development tools. In fact, it becomes a single, unified IDE into which third parties can plug in their own languages. These languages become first-class members of Visual Studio and gain access to all of the features and shared tools that are built into the IDE. There are over a dozen companies that have already dedicated themselves to creating languages to plug into the Visual Studio environment by the time the new version is released.

All languages (Visual Basic, Visual C++, and the third-party plug-ins) compile down to a common Intermediate Language (IL) that's similar to Java byte-codes. This common IL makes possible things that have never been done before—like creating an object in C++ and then inheriting it in Visual Basic. Cross language inheritance and development is a breeze in Visual Studio, and all languages share all of the same capabilities and access to the .NET framework. They all compile down to the same IL that is, in turn, compiled (either at compile time or dynamically at runtime) to executable code. There's no performance hit in any language. So now language choice becomes merely a preference.

This promises to bring an explosion of new languages like there hasn't been seen for many years. In the past, there were benefits to consolidating to just a few languages. Now, with Visual Studio's capabilities, all of those benefits are nullified. This also means, for better or worse, that if you want to be a player in the Windows world of software development, you'd better plug into Visual Studio. The benefits of doing so will be too great! The strain of attempting to re-implement all of the functionality that the .NET framework and Visual Studio provide will be too much, even for a company with a significant head start like Inprise.

Of course, this leads up to one big question: Will Inprise create a Delphi language plug-in for Visual Studio? This would provide a career track for all of the loyal fans of Delphi who want to access this exciting new world. It would also, without any extra effort, provide a host of new utilities and capabilities to the Delphi environment.

Delphi, as an independent development tool will continue. Kylix promises to make Delphi the visual development tool of choice for multiplatform development—no doubt about it. This is one area where Microsoft has chosen not to play, and that leaves the field wide open for others to fill the void.

But for developers and software companies that want to use Delphi strictly for Windows development, there can and should be a Delphi language plug-in for Visual Studio.

Click here to learn more about Bill Hatfield

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有