Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 18 submissions in the queue.

Submission Preview

Link to Story

A New Lazarus Arises – For The Fourth Time – For Pascal Fans

Accepted submission by Arthur T Knackerbracket at 2025-05-14 07:14:19
Software

--- --- --- --- Entire Story Below - Must Be Edited --- --- --- --- --- --- ---

Arthur T Knackerbracket has processed the following story [theregister.com]:

Lazarus 4 is the latest version of the all-FOSS but Delphi-compatible IDE for the FreePascal compiler.

The IDE [freepascal.org] is developed independently from the underlying Pascal language that it's written in, so this doesn't mean a whole new version of FreePascal: Lazarus 4 was built with FreePascal 3.2.2 [freepascal.org] which was released in 2021. It replaces Lazarus 3.8, which was the current version when we talked about it for Delphi's 30th anniversary [theregister.com] back in February.

Lazarus somehow manages to feel Windows-like even on a Mac, but it works – click to enlarge

Version 4 comes along relatively soon after the last new major version, Lazarus 3.0 [freepascal.org] which came out in December 2023. The project's Gitlab page [gitlab.com] has a long list of issues fixed in this release. The version 4.0 release notes [freepascal.org] have a complete list of changes and new features. There are substantial changes in its various events and classes. Perhaps the most immediately visible change will be how the IDE handles docking [freepascal.org]:

The IDE now comes with built-in docking and docked-form editor (they can be toggled as option, rather than rebuilding IDE to install/remove packages). When run for the first time the user will be prompted with a choice to enable them.

It's a multi-platform IDE, and the Sourceforge page [sourceforge.net] has packages for both 32-bit and 64-bit Windows, Linux, and FreeBSD. On Apple hardware, it offers PowerPC, x86 and Arm64 versions; Cocoa development needs macOS 12 or higher, but using the older Carbon APIs it supports OS X 10.5 to 10.14. There's also a Raspberry Pi version for the Pi 4 and later. It supports a wide variety of toolkits for GUI programming, as the project wiki [freepascal.org] shows: Win32, Gtk2 and work-in-progress Gtk3, and Qt versions 4, 5 and 6, among others.

One criticism we've seen of the FreePascal project in general concerns its documentation, although there is quite a lot of it: eight FPC manuals [freepascal.org], and lengthy Lazarus docs [freepascal.org] in multiple languages. There is a paid-for tutorial e-book [blaisepascalmagazine.eu] available, too.

Something which might help newcomers to the language here is a new e-book: FreePascal From Square One [contrapositivediary.com] by Jeff Duntemann. The author says:

It's a distillation of the four editions of my Pascal tutorial, Complete Turbo Pascal, which first appeared in 1985 and culminated in Borland Pascal 7 From Square One in 1993. I sold a lot of those books and made plenty of money, so I'm now giving it away, in hopes of drawing more people into the Pascal universe.

He does have a caveat, though:

I need to mention here that the book does not go into Windows programming, OOP, software components, or the Lazarus GUI builder.

There are other free resources out there, such as this course in Modern Pascal [castle-engine.io]. The more, the merrier, though.

Pascal isn't cool or trendy any more, but even so, it remains in the top ten on the TIOBE index [tiobe.com]. Perhaps these new releases will help it to rise up the ratings a little more. ®


Original Submission