Software

A new Lazarus arises – for the fourth time – for Pascal programming fans

And if it's your first time around, there's a whole new free book on FreePascal


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

The Sons of Kahn and the assembly language of the internet

READ MORE

The IDE 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 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 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 which came out in December 2023. The project's Gitlab page has a long list of issues fixed in this release. The version 4.0 release notes 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:

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 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 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, and lengthy Lazarus docs in multiple languages. There is a paid-for tutorial e-book available, too.

Something which might help newcomers to the language here is a new e-book: FreePascal From Square One 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. 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. Perhaps these new releases will help it to rise up the ratings a little more. ®

Send us news
48 Comments

Ubuntu 25.10 and Fedora 43 to drop X11 in GNOME editions

Distros align with GNOME 49's move to make Wayland the only supported session

Apple tries to contain itself with lightweight Linux VMs for macOS

Swift-based containerization framework aims to improve performance and security

KDE targets Windows 10 'exiles' claiming 'your computer is toast'

Encourages move to Linux but, for goodness sake, RTFM first

Cisco returns to load balancing market as it chases VMware refugees

Uses eBPF, which both Google and Meta have proven out at scale

Three ways to run Windows apps on a Linux box

Easy, medium, and the sledgehammer approach – or any combination you fancy

Cisco president says dredging coding syntax from wetware memory wastes engineers' expensive synapses

Wants to let AI do the boring bits so his team can invent more cool stuff

AI can spew code, but kids should still suffer like we did, says Raspberry Pi

Mini computer house comes out against 'vibe coding' fad

The elusive goal of Unix – or Linux – simplicity

Or, rediscovering the KISS principle, the long way round

LastOS slaps neon paint on Linux Mint and dares you to run Photoshop

Another distro for Windows users – presumably ones who love bling

What would a Microsoft engineer do to Ubuntu? AnduinOS is the answer

It's not radical, but it is slim and pretty – usually a winning combination

Neptune OS is Debian made easy but, boy, does it need some housekeeping

A media-ready remix with KDE, codecs, and clutter from its BeOS-flavored past

Microsoft open sources Windows Subsystem for Linux – well, most of it

Time to stand on its own two webbed feet?