r/freepascal • u/Paslaz • May 06 '25
The Lazarus IDE 4.0 is now available
Lazarus 4.0 is released, built with Free-Pascal 3.2.2
Download there: https://www.lazarus-ide.org/
r/freepascal • u/Paslaz • May 06 '25
Lazarus 4.0 is released, built with Free-Pascal 3.2.2
Download there: https://www.lazarus-ide.org/
r/freepascal • u/Sensitive_Product826 • Jan 26 '26
I'm excited to share NDXSQLite, a modern SQLite wrapper I've been working on for Free Pascal and Lazarus.
Features
Native SQLite3 API - Direct bindings, no SQLDB dependency
Thread-safe - Connection pooling with statistics
SQLCipher support - Transparent AES-256 database encryption
Schema migrations - Version-controlled database evolution
TDataSet compatible - Works with Lazarus DB-aware controls
Cross-platform - Linux, Windows, macOS (including Apple Silicon)
What's included
30+ classes covering all SQLite features
149 console examples + 10 GUI examples
Full documentation (API reference, architecture, security guide)
Comprehensive test suite
Quick example
uses ndxsqliteconnection, ndxsqliteconnectionoptions;
var
Conn: TNDXSQLiteConnection;
begin
Conn := TNDXSQLiteConnection.Create('myapp.db');
try
Conn.ExecuteNonQuery('CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT)');
Conn.ExecuteNonQuery('INSERT INTO users (name) VALUES (?)', ['Alice']);
WriteLn('Count: ', Conn.ExecuteScalar('SELECT COUNT(*) FROM users'));
finally
end;
end.
GitHub: https://github.com/NDXDeveloper/NDXSQLite
License: MIT
Feedback and contributions welcome!
r/freepascal • u/GroundbreakingIron16 • Jun 30 '26
New video... I'm going on a treasure hunt (of sorts) through Free Pascal and exploring what really happens under the hood when you step outside the IDE.
If anyone else is working IDE‑free or doing CLI‑based Pascal development, I’d love to hear your workflow.
r/freepascal • u/SchoolFreeware • Jun 12 '26
The Lazarus IDE with FPC 3.2.2 works on Windows, Mac, Linux and is a free download at:
r/freepascal • u/Sensitive_Product826 • Jan 08 '26
Hi everyone!
I'd like to share a project I've been working on: 3nity media, a lightweight media player built entirely with Lazarus and Free Pascal.
What is it?
A modern media player powered by libmpv, featuring:
Audio/video playback with hardware acceleration
Playlist management (M3U, M3U8, PLS, XSPF)
Internet radio streaming (13,000+ stations via Icecast)
10-band audio equalizer with presets
Audio visualizations
DVD and Blu-ray folder playback
Drag & drop support
100+ languages supported
1,686 automated tests
Technical details:
Built with Lazarus 3.6 / FPC 3.2.2
Uses libmpv for media playback
Qt5 widgetset on Linux, Win32 on Windows
Cross-platform: Linux (DEB, AppImage, Snap) and Windows
Links:
Snap Store: https://snapcraft.io/3nity-media
License: GPL-2.0
Install on Linux:
sudo snap install 3nity-media
I'd love to hear your feedback, suggestions, or questions about the implementation!
r/freepascal • u/GroundbreakingIron16 • Jun 29 '25
Tuning your compiler can make your apps faster and greener In this one, I take a simple Pascal primes program from 1MB down to 39KB using Lazarus IDE and Free Pascal. Less bloat. Less energy. Smarter code. -- silver pascal coder
r/freepascal • u/Waterkloof • Feb 05 '24
Website: Free Pascal Compiler, Lazarus IDE
Source Control: FPC on GitLab
Official Docs: Free Pascal - Reference guide, Free Pascal - Programmer’s Guide
Introduction: Modern Object Pascal Introduction for Programmers
Handbook: Start Programming Using Object Pascal
Curated list: Awesome Pascal
Container Development Env: CGE Docker Image
r/freepascal • u/xinzhen • 24d ago
Just want you know that I have got Freepascal to compile against ESP-S31, a RISC-V SoC that supports single precision float point only. The binutils comes with Espressif IDF v6.1. The target board is ESP Mosaico, a battery-powered hardware platform featuring touch screen, speaker and microphone, powered by the ESP32-S31 chip. Hope this post finds you well because reddit keeps removing my posts.
r/freepascal • u/dubst3pp4 • Sep 25 '19
r/freepascal • u/aotan083 • 24d ago
Hello everyone.
I made this post to let you know that there are Lazarus fans in Japan as well.
I'm a big fan of Lazarus and Free Pascal, but because information and components are limited in my area, I decided to create my own UI component collection, "CX Components."
This component collection is designed to allow you to easily implement the following functions simply by dragging and dropping them directly into your form:
Explorer-like tree view and list view
Not just display, but you can also copy, move, delete, and rename files, and of course, it supports drag and drop.
You can incorporate the functionality of Windows Explorer directly into your own app. And you don't have to write any code at all.
A tabbed web browser using WebView2
I created this because I wanted to create a tabbed browser for myself.
With this, you can also create your own original browser.
An advanced editor using Monaco Editor and SynEdit (Markdown preview, syntax highlighting, etc.)
I wanted Monaco Editor for Lazarus, so I created it.
It also includes a minimap and preview. Simply paste the code, and it will automatically save, search, and replace. You can also separate and merge tabs by dragging and dropping them.
And best of all, it works without writing a single code!
Sidebar, tab control, Firefox-style bookmark management
I wanted to create a modern app, so I made this.
Currently, it's only available for Windows and is released as open source under the MIT license. For the repository and details, please see here:
GitHub: https://github.com/aotan083/CXComponents
We welcome your opinions and feedback!
r/freepascal • u/kreflorian • May 27 '22
r/freepascal • u/GroundbreakingIron16 • Aug 16 '25
Next video starts as a tutorial for a "DB App", then turns into live coding session after a couple of IDE hiccups and my own blunders. Sigh! Anyways, come along for the ride and see how it all unfolds:
r/freepascal • u/jaunidhenakan • Oct 02 '22
r/freepascal • u/kreflorian • Jan 06 '22
r/freepascal • u/jaunidhenakan • Mar 01 '26
r/freepascal • u/Sensitive_Product826 • Feb 16 '26
r/freepascal • u/GroundbreakingIron16 • Oct 04 '25
Learn how to use RTTI in Free Pascal to easily convert objects to JSON and back again... no manual code needed. Watch here: https://youtu.be/iRg3jJ9z0mo
r/freepascal • u/GroundbreakingIron16 • Sep 11 '25
A practical intro to TCP client and server programming using Indy. Shows TIdTCPServer and TIdTCPClient in action with example code in FreePascal. The components, event handlers and most of the code work in Delphi as well.
r/freepascal • u/ellicottvilleny • Mar 30 '26
https://github.com/wpostma/eleazar-free-pascal
The purpose of this fork is to give ideas and fixes time to work. I will extract useful minimal safe PRs from this and try to PR them upstream when I'm fully confident in them, and I hope to improve Lazarus's automated testing and unit testing, by contributing some tools back to the parent project, when proven useful. Already I have isolated some nasty GTK wrapper bugs in the LCL/GTK2 code.
The experience of using Lazarus, especially the GTK variant on Linux, and the Win32 variant and Mac variants has always been "close but not good", and I think now, with a bit of help from my friendly assistant claude, I can generate and review very comprehensive automated unit tests, and even end to end GUI testing, built into the LCL and plugged into Lazarus itself, to find issues.
The initial "showstopper" bug in upstream lazarus is the horrible state of the GTK2 wrappers and the LCL, out of the box on most modern window managers, including Ubuntu 24.04. Mutter is a hilarious name for one of the most opinionated and broken desktop window managers of all time, but which users expect apps to accept and be tolerant of. Clearly not the kind of battle that Lazarus devs have been interested in battling, but me, I'm weird.
The docked mode (bigide) in Lazarus also feels half finished, and I'm going to finish it my way, and I don't honestly care if the upstream devs like how I think docking IDEs should be or not. I'm building it out my way. I suspect I'll be vendoring the GTK2 wrapper and rewriting it and renaming it ETK2. GTK2 is the worst widget toolkit ever made, except for all the other ones, they say. I want full control over theming, non client painting, and everything I had in the VCL on Windows, but for both Mac and and Linux, and to look 100% native, or 100% custom, as I decide, without changing out back ends.
r/freepascal • u/Sensitive_Product826 • Jan 31 '26
Hey everyone,
I'm releasing DCPcrypt v2.0.5, a cryptographic component library for Lazarus and Free Pascal. It's a maintained continuation of David Barton's original Delphi library, fully ported to LCL with new features and a complete test suite.
◈ What's inside
20 cipher algorithms — Rijndael (AES), Blowfish, Twofish, Serpent, DES, 3DES, RC4, RC5, RC6, MARS, IDEA, Cast128, Cast256, Misty1, Ice, TEA, Gost...
10 hash algorithms — SHA-1, SHA-256, SHA-384, SHA-512, MD5, RipeMD-128, RipeMD-160, Tiger, Haval, MD4
6 block cipher modes — ECB, CBC, CFB8bit, CFBblock, OFB, CTR
Stream encryption with salt + IV + progress callbacks
Base64 encoding/decoding
Pure Pascal — no external C libraries, no DLLs
Cross-platform — Linux, Windows, macOS
◈ Design philosophy
All ciphers descend from TDCP_cipher and all hashes from TDCP_hash. You can swap any algorithm for another with minimal code changes. InitStr takes a passphrase and any hash class for key derivation, so switching from Rijndael+SHA256 to Twofish+SHA512 is a one-line change.
◈ What's new in v2.0.5
GUI examples ported from VCL to LCL (string encryption, threaded file encryption with progress bar)
Console demo programs
282 automated functional tests covering all algorithms
Makefile for command-line builds
Docker-based CI pipeline (no SourceForge dependency)
Full English documentation (API reference, contributing guide)
SPDX license headers on all source files
Detailed comments on all 31 source units
◈ Links
Release: https://github.com/NDXDeveloper/dcpcrypt-lazarus/releases/tag/v2.0.5
Docs: https://github.com/NDXDeveloper/dcpcrypt-lazarus/tree/main/docs
MIT licensed. Works with FPC 3.2.0+ and Lazarus 2.0+.
Feedback, issues, and contributions are welcome!
r/freepascal • u/kreflorian • May 27 '22
r/freepascal • u/kreflorian • Apr 03 '20
Hello,
We have placed the first release candidate of the Free Pascal Compilerversion 3.2.0 on our ftp servers.
You can help improve the upcoming 3.2.0 release by downloading andtesting this release. If you want you can report what you have done here:http://wiki.freepascal.org/Testers_3.2.0 or in the maillist.
Changes that may break backwards compatibility will be documented at:http://wiki.freepascal.org/User_Changes_3.2.0
Downloads are available at the main FTP server,
ftp://ftp.freepascal.org/pub/fpc/beta/3.2.0-rc1/
Enjoy!
The Free Pascal Compiler Team
For an overview of what is new see
r/freepascal • u/GroundbreakingIron16 • Jun 26 '24
As a Delphi developer, I'm checking out Lazarus and Free Pascal! This video is a first look for me, diving into the free IDE (Lazarus) and the compiler (Free Pascal) that powers it. We'll see how to build a basic application and explore what cross-platform development feels like coming from a Delphi background.
Spoiler - There is nothing wrong with it, just getting used to the "older" (figurately speaking) look when you come from a Delphi background. In fact, perhaps a little more robust than Delphi?
A written reflection can be found here:

r/freepascal • u/nickshardware • Apr 22 '26
r/freepascal • u/eugeneloza • Feb 21 '21
Kryftolike is a hide-and-seek game where you hide from monsters and seek treasure in an infinite procedurally-generated maze, originally made as a submission for Finally Finish Something Jam 2021. The game is made in FreePascal, Lazarus and Castle Game Engine, originally it was supposed to be just an example of efficient batched rendering of 2D images, but it ended up a complete playable game.
Download for Windows, Linux and Android: https://decoherence.itch.io/kryftolike
Source code: https://gitlab.com/EugeneLoza/kryftolike
