Linked by DaniŽl Mantione on Mon 16th May 2005 18:38 UTC
General Development After five years of development, Free Pascal 2.0 is ready. With the new compiler, its authors believe they are ready to become a larger open source development platform. In the MS-DOS world, Pascal was one of the major programming languages and is by means of Borland Delphi an important programming language in the Windows world. In the open source world, Free Pascal is the leading Pascal compiler and while open source is a bit biased using the C language, the Pascal language has a lot to offer to open source programmers.
Permalink for comment
To read all comments associated with this story, please click here.
CLX and cross platform development
by nvitya on Sun 22nd May 2005 22:28 UTC

About Pascal/C: I'm a Pascal fan for 12 years. I know deeply several languages, including C++ or Actionscript. I think Object Pascal allows programmers to make less mistakes in the source code lines.

The biggest sofware developer companies have big investments in C programming. So much that they almost cannot use anything else. That's why many think Delphi (or Pascal) is not a real programming language. Small companies with little time and money for specific GUI developments mostly use Delphi in Hungary.

About Cross-Platform GUI: I had seen Kylix and Larus. I tried to create a small cross-platform GUI app with DB access.

There is no problem until you want to create a cross-platform GUI application. Win32 definitely has its own GUI environment. Linux doesn't ... it has many of them so they compete each other. Only few of them reach the level that a big software developer company with windows programming experience needs. The only existing GUI toolkit I would really use is QT. QT is strongly coupled to C++ so hard to use it from other languages. Kylix/Delphi/CLX tries this - with less success I think.

I was wondering how hard could be to create a GUI toolkit for Linux in Pascal (FPC of course), so I started to play with X-window system. In the FPC it is very easy to use C libraries (.so). This is how LPTK has born (see lptk.sourceforge.net). Unfortunately now I don't have time to develop it or to write its documentation. It was a test really. It showed that it is not to hard to create basicly a GUI system. I achieved results worth to see I think. I hope this work will be used by others too. Most of you know that such a big work cannot be done by a single person. And it would require several years of usage before anyone with big responsibility would choose it for a large project.

The salvation of the Pascal fans would be that the Borland tried to implement the cross-platform GUI in my way. They would need to reimplement the GUI elements using only low-level drawing routines. Borland has most of the source code and knowledge required to do this. (You know FPC would not exist without Borland.)

I think this time there is no "good" GUI development tool for Linux in Pascal only "not bad".

About the FPC 2.0.: I looked it in many times in the years of development. It changed too much so I could't risk to use it in production. I'm glad to see it is released finally. So I'll deeply check it. And LTPK will be compiled with it soon.