Project V    @ 2018-05-30, 15:24

关注 Free Pascal 十多年了,之前2009年为 Lazarus 移植过 SUISkin,后来就没用 Free Pascal 写过什么像样的项目。如今的 Free Pascal 和 Lazarus 都已经非常成熟了,用来做实际项目完全没有问题,在有跨平台的需求的情况下,是 Delphi 的绝佳替代品。

能用 Pascal 语言写东西,于我而言还是很舒适区的。能用 Free Pascal / Lazarus 来写自己真正想做的项目,那真是算得上享受生活了。这个月就这样开始了 Project V,昨晚(今天凌晨吧)的 v0.0.3 版已经基本上很好地 work 了。

钟爱Delphi | 4 个评论 | 1,214 次阅读
简短地址:http://ncblog.net/1385/
重拾 Delphi    @ 2017-03-25, 22:44

为了生存,时隔七年后,于2016年年底的11月,又再次拾起了 Delphi,重新涉足 Win32 平台。

虽然有着“Delphi 产品专家”的名头,也自认为 Delphi 再熟悉不过,不过毕竟离手了这么多年,而这些年 Delphi 语言本身也有一些变化,头一周竟躲不过从陌生到熟悉的感觉经历,不过还好还是很快上手了。但是,有些令人失望的是,相比之下,Delphi 的 IDE 即使是最新版,也还是让人有一种不是同一个时代的感觉,我是指相比其他一些现代的IDE,比如 Xcode,甚至 Android Studio……回想当年的辉煌,忍不住唏嘘。

然后就用它开始开发一个旨在直接赚钱的工具软件项目,经过四个多月的开发和测试以及调整,近六万行代码,终于通过了 Windows Store 的认证,很快就可以上线了。回想当年,做共享软件的时代,只要自己把程序编译好加个壳,用安装包制作工具——比如 InnoSetup——打好包就可以上传到自己网站上完成发布了。而现在,则必须提交到各种 Store 经过审核才能上线发布。经过这么多年洗礼,无论用户还是开发者,应该都已经习惯了 Store 这种模式了。

六年前我没有说对,Delphi 还没有 gone,but it’s just ok. :-|

钟爱Delphi | 1 个评论 | 3,835 次阅读
简短地址:http://ncblog.net/1273/
Delphi is gone    @ 2010-09-03, 17:58

前两天从猪圈的奥克熊那里,得知Delphi又出了新版了(Delphi XE),才发现自己已经很久没有关注过Delphi相关的信息了。今天,欧罗的帖子提到Delphi Distiller的作者不愿意出for XE的版本,特地去看了下,distiller的作者说(http://www.liteapplications.com/)

The guys at Embarcadero announced a few days ago that the next Delphi will be called Delphi XE and will be released in September. It will be a very minor update, nothing really new. There isn’t anything cross-platform or 64 bit here. More details at the RAD Studio XE website.

As everyone could expect, their attempt at Delphi cross-platformness is buggy as hell and they will need one more year to get it working. Very understandable. However, instead of releasing a preview (or not releasing anything), they are launching a rebranded Delphi from last year with a couple plugins, for the price of a major upgrade. It’s a good thing that most people know when to skip a version.

Still, some enthusiasts will want to install it as soon as a crack is available. The problem is that, as many of you will have noticed, the newest Embarcadero products are getting harder to crack, and at the same time there is a lack of interest by the programming community in anything new from Embarcadero. As a result, you may not see a crack until weeks after the official release. Scene release groups won’t even bother making new cracks after every update. There is a general feeling that Delphi is a thing of the past, and I agree.

I see very little point in upgrading to new Delphi versions nowadays. Delphi was already a mature product at the end of the nineties, and as much as they try, there is no way to make it much more productive than say, Delphi 7, without breaking compatibility. Besides, we aren’t in the nineties any more. We live in a world where open source is taking over (see Android). Basing new projects on a proprietary tool like Delphi from a small company like Embarcadero which struggles to stay afloat sounds crazy. I have advocated Delphi for years but honestly, I can’t recommend it any more.

So is there anything better than Delphi? We all know the options, but in my opinion only one beats Delphi in every aspect (except in compilation speed): Qt with C++. It is vastly more complete than the VCL or even .NET, it is free, cross-platform, open source, usable on commercial projects, 32 and 64 bit, works with the world’s best IDE (Visual Studio), the documentation is top quality, etc.

For these reasons, I would like to announce here that there won’t be a next version of Delphi Distiller. Maybe it’s time for a Qt Distiller ;)

易博龙是一家小公司,应该是没有足够的财力(更重要的是某种诱惑力)来留住顶尖的人才,在微软的VS高压之下,继续发展Delphi。况且,如今已经不再是售卖IDE的年代了,在免费开源的各种IDE(如Eclipse)和几乎免费又有口皆碑的VisualStudio重围中,也很难想象易博龙能依靠什么,来让Delphi冲出重围?个人认为,如果可能的话,将Delphi开源,让社区来维护继续发展,倒是有新生的可能性。至少凭借着往日的光环,和一个目前仍然存在的社区(情结),自成一派应该没什么问题。不过,这目前来看也是不可能的,就从Delphi在易博龙手中,反破解手段越来越强势可以看出。相对于产品反破解越来越强的,是社区对产品的兴趣度越来越低,这,注定是末路。其实,自从Borland决定出售Delphi(以及整个开发工具产品线)的那刻起,就已宣告了Delphi的末日。

对于喜欢优雅的Pascal/Object Pascal语言的程序员,其实,早已经有一个更有活力的免费开源产品作为替代了——Lazarus。基于跨平台的Free Pascal编译器,Lazarus本身也同时跨多个平台,包括Delphi还在road map中的Mac OS X,Win x64等平台的支持。

我自己,直到今年4月,仍然是使用的是2003年作为Borland产品专家,被Borland所赠与的Delphi 6.0版,不同于distiller作者所说,我觉得Delphi 6.0已经是一个非常稳定的版本了 ;) 。而从4月份开始,我就几乎再也没有打开过Delphi了。最常用的IDE,变成了Eclipse,语言,则变成了Python。由于项目原因,今后基本上也会更多的使用Python了。至于Lazarus/Free Pascal,去年做lazskin的时候,着实研究了一把,我看好它的未来,今后如果需要使用编译型语言的时候,我会首选Free Pascal的。

如distiller作者所言,我们已经不再处于90年代了,Delphi应该属于不再回来的过去了。

不出意外的话,这篇文章,也将是“钟爱Delphi”分类目录中,最后一篇文章了。

Because Delphi is gone…

钟爱Delphi | 3 个评论 | 11,243 次阅读
简短地址:http://ncblog.net/773/
Say byebye to Borland    @ 2009-05-06, 19:59

Borland软件公司今日宣布,接受Micro Focus公司的收购要约。同意以每股1美元或7500万美元的总价被收购。

Micro Focus是一家位于英国的软件公司,主要从事企业信息化及资产管理等业务。Borland公司曾是世界第三大软件公司,是微软与甲骨文的主要对手,但在上世纪90年代逐渐陷入困境。

Borland公司股价周二收于80美分,Micro Focus提出的收购价格较此有25%的溢价,而较Borland过去一个月间的平均股价溢价67%。

双方董事会都认可了收购协议,只等两家公司股东及反垄断监管机构批准。双方希望于第二季末或第三季初完成收购交易。


这个logo,曾经让多少程序员仰慕和崇敬……
曾经具有向微软挑战的实力,如今却……

令人唏嘘~~

钟爱Delphi | 评论已关闭 | 7,671 次阅读
简短地址:http://ncblog.net/491/
Delphi 2009 & Lazarus    @ 2008-08-07, 04:31

从李维的博客得知在Delphi找到新东家之后,很快要出新版了,而且是“這次的Tiburon應該算是CodeGear對於Delphi Win32以及C++Builder Win32從Delphi 7/C++Builder 5以來最大幅度的進步”。

对我来说,比较感兴趣的,是编译器和VCL组件库的改进,外围的工具兴趣不大。

据说,新版本的编译器要支持泛型和匿名方法(Anonymous Method),有点意思,这会让Delphi看起来越来越“现代” :lol: 。另外,VCL说是要全面支持unicode了,这一点被广大Delphier期待了多年,现在终于要来了。不过,其实TNT已经做得不错了。

具体东西如何,还是等正式发布了再看吧,希望真的如李维所说,品质要稳定才好。

记得曾经Borland想打造跨平台的CLX组件库。不过,随着kylix的失败,CLX也消失了。而在开源社区,却有一个跨平台的兼容Object Pascal语言的编译器——Free Pascal以及一个越来越可用的IDE——Lazarus(和他的组件库LCL)。

Lazarus 0.9.24自带了Free Pascal 2.2编译器,可以运行在Windows,Linux,Mac OS X等平台上。可以用来开发这些平台上(包括WinCE)的应用程序。习惯VCL的开发者,应该能很快适应它的LCL,因为他们相似度是如此的高。

查看大图

钟爱Delphi | 评论已关闭 | 10,991 次阅读
简短地址:http://ncblog.net/414/
Delphi 2007(?)    @ 2007-02-22, 13:18

所谓codegear网站得知Delphi 2007(for Win32)发布的消息,心里早就没有了以前那种,新版本Delphi出现时的激动和期盼了。

经过Borland出售开发工具产品线“闹剧”(有哪个卖主会整天叫嚷着某东西不赚钱,自己不想要了才拿出来叫卖?),到后来找不到买主自己换个马甲(所谓codegear)出来,对Borland以及其马甲都提不起任何兴趣了。

Delphi 7之后,Delphi这个名称,也已经被Borland及其马甲完全糟蹋掉了。

先是宣称要彻底抛弃Win32的Delphi 8出台,完全没人理会--边拆边扔

接着是宣称Win32回归(与.NET合并)的,开发代号是Diamond Back,但慢得要死、充满bug的Delphi 2005--把扔了的(Win32)捡回来,小集成

接着可能就是将内存管理模块替换成了第三方的FastMM后的Delphi 2005,再加上了所谓回归的C++Builder,变成了稍微快一些,但仍然充满bug的BDS 2006--把扔了的(C++Builder)捡回来,大集成

到现在,宣称Delphi for Win32,Delphi for .NET,Delphi for PHP(什么东西?)是一个产品家族的不同产品(至少,目前只宣称发布了Delphi 2007 for Win32)--又拆散?

至少在我看来,无论是Borland,还是codegear,其乱象似乎仍然没有结束~~

从宣传上来看,似乎2007版主要就是对Vista的支持。当然,我到现在仍然还没明白,Delphi 6(甚至Delphi 5)开发Win32应用在Vista上会有什么问题?至少我还没遇到。

当然,东西本身,还是要看到实际的,才能下结论。至少,如果稳定性能让人惊讶的话,那也很不错了。

钟爱Delphi | 2 个评论 | 44,451 次阅读
简短地址:http://ncblog.net/304/
Borland Delphi no more – It’s CodeGear Delphi!    @ 2006-11-17, 03:00

Borland Delphi no more – It’s CodeGear Delphi!
From Zarko Gajic,
Your Guide to Delphi Programming.
Nov 15 2006

TCodeGear.Create(Delphi)

It’s official: Delphi is no longer “Borland Delphi“, it’s “CodeGear Delphi“!

For a long time, the main page of the delphi.about.com (this) site was “About Borland Delphi Programming”, then I turned it into “About Borland (“Devco”) Delphi Programming”, today (11/14/2006) the *new name* is
About CodeGear Delphi Programming“!

TCodeGear.Enhance(Delphi)

And just when everybody felt nothing will happen (with Borland plans to sell its IDE business), Borland Developers Tool Group (DTG) transforms into a new company:
CodeGear.

CodeGear is the new company that is born of Borland – a company totally focused on developers.

Here’s the press release announcing CodeGear – formerly Borland’s Developer Tools Group

Here are answers to frequently asked questions about CodeGear.

Here are the most interesting points:

  • CodeGear is totally focused on developers.
  • CodeGear was not sold by Borland due to several issues: price, userbase future, products future and some more.
  • CodeGear is owned by Borland.
  • CodeGear is NOT completely controlled by Borland.
  • CodeGear will not focus on just a “few” programming languages (Delphi, Delphi.NET, Java, C++, C#).
  • CodeGear separation is expected to be complete before the end of this year (2006).

For a vast amount of blog posts and comments related to CodeGear visit:
delphifeeds.com

What all this has to do with you, a visitor/reader of the About Delphi Programming site? Well, not much.

I’ll keep on providing you with Delphi related tutorials, tips and articles. The name has changed, but the beast is still the best development tool ;)

Go Delphi, go CodeGear!

原文:http://delphi.about.com/od/humorandfun/a/codegear.htm

钟爱Delphi | 评论已关闭 | 20,146 次阅读
简短地址:http://ncblog.net/266/
又被2001年写的一段话感动了一把    @ 2006-10-16, 12:53

偶然间,在网上翻看了自己在2001年写的《Delphi高手突破》第一章中的一段话,又被感动了一下:

我相信,走上编程这条路,对于我来说是必然的。能成为专业程序员,也是我所梦想并实现了的。但是,Delphi的出现以及被我所认识、熟悉、迷恋并成为工作的一部分,应该说是一个意外的惊喜。

还记得,当初,lp还是女朋友的时候,看到这段话后,气鼓鼓地说“你去娶Delphi吧”。 :grin:

钟爱Delphi | 2 个评论 | 13,379 次阅读
简短地址:http://ncblog.net/256/
先除后乘    @ 2006-09-04, 23:56

在乘除法混合运算中,要先除后乘,避免先做乘法导致溢出。

比如,运算postion在max和min之间的百分比位置(三个数值均为整数型):

Result := 100 * (nPosition - nMin) div (nMax - nMin)

这种写法,如果nMax和nPosition都是比较大的数值时(假设nMin为0),先运算乘法就可能导致超出最大整数范围(MaxInt),使得最终结果变成负数。
只要调整为:

Result := Trunc((nPosition - nMin) / (nMax - nMin) * 100)

就可以避免。

钟爱Delphi | 评论已关闭 | 11,784 次阅读
简短地址:http://ncblog.net/242/
Borland卖家产了    @ 2006-02-09, 00:08

转贴自:http://blogs.borland.com/davidi/archive/2006/02/08/23013.aspx

Borland plans separate company for Delphi, JBuilder, C++Builder, InterBase, JDataStore and other developer products…

To our loyal developer community:

Today, Wednesday February 8, 2006 at 1am Pacific Time, Borland announced plans to seek a buyer for our IDE product lines that include Delphi, C++Builder, C#Builder, JBuilder (and Peloton), InterBase, JDataStore, nDataStore, Kylix, and our older Borland and Turbo language products and tools. The goal is to create a standalone business focused on advancing individual developer productivity using the people inside Borland who are focused on the success of these award winning products.

It is not a trivial decision to separate our IDE business from our ALM business. As we look back over the past two years and how we have operated as a company, we have continually had to weigh every dollar investment in our ALM and developer products. All too often we have chosen to invest in ALM, because of our stated direction around ALM growth and market opportunity. But we all know that our loyal customer base demands more. There is tremendous potential that has been untapped due to the company’s focus towards an enterprise go-to-market model, with an emphasis on a more consultative, lifecycle sale forcing us to invest more into our ALM products, ALM marketing, and our enterprise field model. This is a very different model from our mostly channel-focused, direct-to-developer marketing, and delivery model (using shrink wrapped boxes and e-shop downloads).

Focus is a key success factor in business. With this announcement, both companies will have the focus they need to thrive and help our customers be successful. I think it’s great that Borland is letting us be part of a new focused company that brings together the team that is passionate about developers and development. We want to continue to create the best solutions and technology for the benefit of you, our community of developers. We are developers working on developer products for our customers who are developers. This is a special relationship that is unique in software. We get to work on products that we use ourselves and that our developer community love.

I started using Turbo Pascal v1.0 in November of 1983 when Philippe Kahn gave me a copy at Comdex Las Vegas. I put it in my IBM PC and knew immediately that this was something different. From that day, I knew I wanted to go to work for Borland. I started working at Borland on June 17, 1985 and for the past 20+ years I have had the pleasure of being a part of a great company and a great community of software developers. I’ve had the luxury and pleasure to manage the compiler group in R&D in the early Turbo Language days. For the past 15 years I’ve run Developer Relations allowing me (and our team) to travel around the world to visit with tens of thousands of programmers. I get to come to work every day and collaborate with the best developer focused software engineers on the planet.

I’m really excited to be moving to the new company. We’ve got the right team members, we’ve got the tool and component partner eco-system, we have the authors, trainers, consultants, and we have the most important part – a loyal community. Our new company will be focused completely on you and your success. Yes, both companies will have a focus on software development. Both are going to advance the state-of-the-art and best practices. They’ll just do it in different ways. Ours will do it by focusing on developer productivity and building great application development products using our award winning IDEs, tools, component libraries, class libraries, and database technologies. Borland will do it by addressing the needs of larger organizations, helping them optimize their software delivery.

I was asked today by Daryl Taft of eWeek magazine, “As Borland’s longest term employee, how does the spin-off hit you?” I answered by saying, I am moving forward as part of the new company with a huge smile on my face and a small tear in my eye.

I want to assure all of you that we are here in Scotts Valley, and around the world, working on future versions of Delphi, JBuilder and our other products. We are still listening to your needs, issues, and suggestions. We are tracking with the new platform initiatives for Windows, .NET, Java, open standards, and emerging technologies that you want to leverage.

This is the right thing to do for our IDE business. It’s the right thing to do for Borland’s ALM focus. Our priority is to ensure a smooth and successful migration for our developer customer base, and create a vehicle for giving it greater investment, focus and growth. This is not the shutting down of a product line, but the empowering of it. This move is in the best interests of our customers, company, and community.

The buyer of our IDE product lines has not yet been identified, but I and other members of our developer team are working with Borland’s executive management to ensure that we identify the right buyer who will advance the IDE business. Borland is committed to its customers first and foremost, and taking care of their ongoing needs. We will keep you informed along the journey.

Go Borland. Go New Company. Go Developers!!!

David Intersimone, “David I”
Vice President, Developer Relations and Chief Evangelist
Borland Software Corporation

钟爱Delphi | 1 个评论 | 44,707 次阅读
简短地址:http://ncblog.net/190/