Fog Creek Software
Discussion Board

How close is Delphi to Kylix?

I am considering to use Delphi as a development platform.

I am VB developer with strong database skills. These database skills range from pick (multi-valued or so called post relational databases offered by vendors like IBM and companies like ).

I also of course have strong sql skills. I also find that ms-access is great tool for business applications.

In addition I also did write a payroll package in Pascal some years ago. Hence, the “language” barrier is not going to be a large challenge here if I adopt Delphi.

I suppose there are many reasons to use Delphi, but the one that stands out to me is the cross platform ability. That is Delphi (Windows) and Kylix (Linix).

A few quick questions:

** How close, or similar is Delphi windows to the Linux version (Kylix)? Is the IDE the same? Can I just move the code?

** How much effort is required to write code for cross platforms? (in other you take special precautions to write for both platforms?). Does the GUI used on the Linux side matter (KDE, Gnome?).

** What is commonly used for the database part when developing on these platforms, and again how easy is it to move from Windows to Linix in regards to the database engine?

** What is used to manage recordsets? (while I would expect things like ADO objects to be available on the Windows side, what is used on the Linux side?).

** Is the process of loading up data controls on a form similar to VB?

I also open to any suggestions as to why you think Delphi is gong to be more productive in a Delphi environment as compared to VB?

Albert D. Kallal
Edmonton, Alberta Canada

Albert D. Kallal
Saturday, October 12, 2002

The Object Pascal language is the same in both Delphi and Kylix. The MS Windows specific libraries aren't available in Kylix, but there are often Linux equivalents you can call. Borland have done a superb job of wrapping threads etc. in their own classes which abstract away from the underlying platform.
The IDE is the same on both platforms. When developing code for both systems you need to be careful with unit references because of Linux's case-sensitivity of filenames, but apart from that it's painless.

We've written an SQL RDBMS in Delphi and the same code compiles on Kylix with only a handful of IFDEFs to handle operating system differences in library loading etc. If a GUI is involved then you need to use the cross-platform CLX components which are built on the Qt components on Linux.

The new dbExpress components can be used to access databases from Delphi and Kylix. ThinkSQL RDBMS has a native dbExpress driver for both systems and the engine itself also runs on Windows and Linux.

Greg Gaughan

Greg Gaughan
Saturday, October 12, 2002

Albert, you can also try asking at the Borland newsgroups. You can find a complete list at

You might want to check the rules in

I can't be of much help here, since I never used Kylix - taking a look at Linux is in my endless to-do list. I'll do it someday; hopefully, before I retire :)

Suravye ninto manshima taishite ("Peace favor your sword")

Paulo Caetano
Thursday, October 17, 2002


I just installed Red Hat v8 and Kylix 3. Just to get the feel of things I'm writing a multi-file editor.

Overall it feels just like Delphi. As has been noted, the language is identical.


The editor bogs down a bit after working for a while. It could easily be my set-up over here, but I think it has to do with the QT memo component. The help file says there's no arbitrary limit on how much text it can hold, but that it can get a little hinky when too much is in there. The application itself seems fine, though.

I think it has to do with the number of undo levels the Kylix editor (which I assume is alse based on the QT memo component), which defaults to 32K--WAY more than necessary. I'm going to cut it back to something more reasonable, and if that doesn't help I'llswap out my wireless keyoard and see if that fixes it.

Earl Dunovant
Monday, October 21, 2002

*  Recent Topics

*  Fog Creek Home