Linked by Snorkel on Thu 30th Aug 2012 22:38 UTC
General Development After more than a decade, Lazarus has reached version 1.0. For those that don't know Lazarus - it's a Delphi-like IDE for the Free Pascal Compiler and has widget sets for win32/64 GTK2, Qt, and others. It's very very much like Delphi and instead of the VCL it has the LCL which is cross platform. Syntax is almost exactly the same as Delphi. You can create stand-alone win32/64 executables that require no .NET runtime or even an installer.
Thread beginning with comment 533362
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Delphi
by ggeldenhuys on Fri 31st Aug 2012 01:03 UTC in reply to "Delphi"
ggeldenhuys
Member since:
2006-11-13

The Lazarus project created a fantastic IDE. The editor is just filled with cool features - some not so obvious for the casual user, but for the working programmer it is great.

The BIG plus over Delphi, is that you have the source code. I often tweak things to suite my needs, or to fix a bug instantly. This is where Delphi falls down - it is a "black box" you can't tinker with, and you are at the mercy of a company that doesn't always know where it is heading.

The Free Pascal Compiler (which Lazarus uses) is also fantastic. Supporting something like 20 platforms. FPC can even generate Java bytecode applications.

Our company has been using Lazarus for the last 7 years. We have cross-platform desktop applications, Linux daemons, console utilities, CGI apps etc.

The FPC and Lazarus projects definitely deserve more attention from programmers. FPC's Object Pascal languages has modern features, easy to read and understand, and a very fast single pass compiler.

It's wonderful to see that the Lazarus project finally made the 1.0 milestone.

Reply Parent Score: 7

RE[2]: Delphi
by henderson101 on Fri 31st Aug 2012 02:24 in reply to "RE: Delphi"
henderson101 Member since:
2006-05-30

Do you still go your own GUI or have you moved to LCL...?

I think LCL is the biggest issue I have with Lazarus. The VCL was crufty by the time I bailed on Delphi dev (I used mainly Delphi 5 die to constraints put on my by my employer - I back ported a lot of Delphi 6 and Delphi 7 features, I can tell you!!) Delphi 6 was munged to support a bunch of C++ oddness, and Delphi 7, well, I just never really found it added much to the picture for me. I used the .Net versions somewhat, but the fact that Borland completely crapped all over the place and made the .Net VCL horribly unportable and used odd hacks that broke it constantly (I forget the exact reason, but I remember Alan DOH-ing big time on his Oracle of Delphi blog - something about assumed code layout and private field mapping...) made it unusable.

The problem is, if you diss the LCL, you get angry shouting... but the problem is, the LCL is based on the VCL and the VCL is obsolete and very unsuitable by modern standards. The VCL was often a far too loose wrapper round the Win32 API (but never as horrible as MFC) and breaking that makes porting code to LCL non-trivial. So, either your code is a complete re-write (then why bother?) or you're saddled with a crufty framework. Rock, meet hard place.

I do like the Mac stuff that they've been doing. At least that shows some initiative and lateral thinking. And the Java byte code sounds pretty spiffy.

Reply Parent Score: 2

RE[3]: Delphi
by ggeldenhuys on Fri 31st Aug 2012 08:58 in reply to "RE[2]: Delphi"
ggeldenhuys Member since:
2006-11-13

Do you still go your own GUI or have you moved to LCL...?

Yes I still develop and use fpGUI Toolkit ( http://fpgui.sourceforge.net ), instead of the LCL. My own custom drawn cross-platform GUI framework. I do use the Lazarus IDE for 90% of my coding and debugging though.

The Delphi VCL is very Windows centric, because it is essentially a wrapper for the Win32. To me that meant, not ideal for cross-platform design. But saying that, it is amazing what the Lazarus folk have accomplished with the LCL.

Win32 API (but never as horrible as MFC) and breaking that makes porting code to LCL non-trivial.

The Lazarus guys have also spent a lot of time developing project convertors, to help you move your Delphi VCL code over to FPC+Lazarus. Apparently that does a very good job, and a huge time saver.

Reply Parent Score: 3

RE[2]: Delphi
by snorkel1 on Fri 31st Aug 2012 16:24 in reply to "RE: Delphi"
snorkel1 Member since:
2012-02-25

Totally agree with you.
People just don't see the value of Lazarus and Free Pascal and the amazing apps you can create that work on windows and linux (and others).

I recently created a IM server and I can cross compile the linux daemon right on my windows 7 desktop and at the same time build a debug version of the daemon that outputs logging to a win32 form app. I can then test the whole thing on windows 7 and easily build the linux executable on the same box.

Just amazing if you ask me, Lazarus is what Delphi should have been.

Reply Parent Score: 2