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.

mORMot 2 Generics Collections: Fast, Small & Scalable

A recent discussion on Delphi-PRAXiS highlighted this issue through a comprehensive benchmark comparing the Delphi RTL, Spring4D, and mORMot 2 generics collections.

Trying to compile 500 records + 2000 generic specializations shows very clearly why mORMot 2 generics collections are an excellent choice for serious Delphi - or FPC - projects.

mORMot 2 Highlights

  • Extremely fast compilation even with thousands of specializations
  • Smallest binary size
  • Very reasonable memory consumption during compilation
  • Thread-safe dictionaries with advanced features like JSON/binary serialization out of the box
  • Delphi and FPC compatibility

If your project suffers from long compile times or huge executable size because of heavy generic usage — mORMot 2 collections (mormot.core.collections) is currently the most scalable and efficient solution available in the Delphi ecosystem.

Give it a try — the difference is usually noticeable from the first clean build.

Thanks Waldemar for the insights, and also thanks Valerii for the adorable marmot in the above picture. :)

Reference Material

If you want to go further:

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

2025-02-15

Join Us in Nederlands for a Coffee and More

The INTERNATIONAL PASCAL CAFE 2025 will take place at UTRECHT (IJSSELSTEIN), in Nederlands.

We are delighted to be part of the event, and speak about our little mORMot.

Continue reading

2025-02-01

Making a PRNG with AES

mORMot is a general purpose Open Source library, which features some advanced cryptographic primitives. It is written in modern object pascal, with some assembly for its core process. It is used since years in several security-sensitive projects, and has been audited internally by at least one billion dollar company.

We already spoke about this a few years ago. In the meanwhile, the implementation details of our CSPRNG (Cryptographically Secure Pseudorandom Number Generator), as it is currently in the mORMot 2 repository, have been tuned and proven. Time to share some more information.

Continue reading

- page 1 of 52