2026-05-19

Delphi Linux & macOS Support for mORMot 2

We are pleased to share that mORMot 2 now offers initial compatibility with Delphi's Linux and macOS x86_64 compilers for console/server applications.
This effort originated from GitHub issue #442.

Thanks to community testing and contributions, core units now compile and run on these platforms.

mORMot Has Always Been Cross-Platform and Cross-Compiler

From its inception, mORMot 2 was designed as a truly cross-platform and cross-compiler framework. It has long delivered excellent native support for Linux, macOS, and BSD via the Free Pascal Compiler (FPC), alongside full Windows support in Delphi.

The recent work on Delphi Linux/macOS targets builds on this foundation. A key addition is the new mormot.core.os.delphi.pas unit, which helps isolate and adapt OS-specific code for the Delphi LLVM-based compilers, using all needed fallback and conditional compilation to maximize compatibility with existing codebases.

In practice, you could just recompile any mORMot 2 project using Delphi to these new targets, and you should expect a similar set of features.

Important Note on Performance

Compatibility with legacy Delphi codebases has been prioritized over raw performance.

Unfortunately, the Delphi LLVM compilers (used for Linux and macOS targets) generate significantly slower code than FPC in many performance-critical sections of mORMot. Low-level benchmarks (e.g., tight loops involving in-memory JSON or data processing) show Delphi producing much less efficient assembly, with unnecessary stack operations and poorer optimization compared to FPC. You can get some insight about this problem at gist.github.com.

For production workloads where speed matters most, we continue to strongly recommend FPC on Linux. Delphi Linux/macOS support serves teams that need to maintain a single Delphi codebase across platforms, even if it means accepting a performance trade-off.

Current Status – A First Compatibility Attempt

This is an initial compatibility pass. Many core features (HTTP/REST servers, ORM, SOA, JSON processing, cryptography, etc.) now compile and function, but it is not as mature or optimized as the FPC path. The lack of inlined asm in Delphi is clearly a PITA to port our most optimized code. But for a client application, or any light/internal server, you could expect the performance to be "good enough".

We warmly welcome feedback, bug reports, and contributions from the community to improve stability and compatibility further. Test results, performance observations, and pull requests are highly appreciated. Tests and patches for macOS aarch64 are especially welcome.

Thank you to everyone who tested and contributed!

2026-03-03

Rencontre entre Pascaliens à Nantes

Si vous êtes dans l'Ouest de la France, vous êtes les bienvenus pour une escale Delphi/Lazarus le jeudi 9 avril fin d'après midi à Nantes!

J'y serais avec toute l'équipe dev de Tranquil IT pour partager des idées, et certainement quelques petites choses plus solides (ou liquides) ! :)

Continue reading

2026-01-14

mORMot 2 Generics Scalability

In the world of Delphi development, generics have become a cornerstone for writing flexible, type-safe code. However, as projects grow in complexity—with hundreds or even thousands of generic specializations—the scalability of these implementations can become a critical bottleneck.
If you're dealing with large-scale applications, these insights could save you hours of build time and frustration.

Continue reading

2026-01-12

New mORMot 2.4 Release

After more than one year since our latest release, it is time for a new release!

Continue reading

2025-11-09

Sneak Peek mORMot 2.4: SCRAM-MCF REST Authentication

With the upcoming 2.4 release of our framework, we completed its REST authentication process, to follow state of the art principles like MCF strong hashing and SCRAM mutual authentication, with secure password storage on the server side.

This blog article will detail the background information needed to identify what is really going on.

Continue reading

2025-10-29

EKON 29 Slides

The EKON 29 Konference in Dusseldorf just ended.

Nice year, with a lot of AI talks.
To keep the pressure low, I did not talk about AI, but gave 3 sessions and 1 workshop about mORMot. Here are the slides I used.

Continue reading

2025-09-23

Pascal Conference 2025

The Pascal Conference 2025 was last week, in Germany.
It was a great opportunity for Delphi and FPC users to gather, and share some sessions, information, and beers.

Continue reading

2025-09-14

Our Server Just Died Last Friday

As you may have noticed, our forum was not available since Friday evening until this Saturday afternoon (Paris time).

In fact, our Dedibox hardware, which was running fine for years, just break down, and was not able to reboot.
The Dedibox/ScaleWay/Online service answered to my ticket that... the server just died... and they were not able to reboot either. What I did not know is that they can't access the hardware, because there are other servers in the same chassis, so they can't fix it. Or even investigate further. Period. Nice service.

So pretty much killed dead.
:(

Continue reading

- page 1 of 52