Session Details

The Conference for Delphi & more
November 7 - 9, 2022 | Düsseldorf

Arnaud Bouchez


03 Nov 2020
09:00 - 10:00
Early bird discount Register until September 22 and save up to 300 € Register now!
This talk originates from the archive. To the CURRENT program

Rewrite For Performance: From Delphi to AVX2

03 Nov 2020
09:00 - 10:00

During the continuous mORMot refactoring, some core part of the framework was rewritten. In this session, we propose a journey to a refactoring of a single loop. It will take us from a naïve but working approach, to a 10 times faster Pascal rewrite, and then introduce how SSE2 and AVX2 assembly could boost the process even further – to reach more than 30 times improvement! No previous knowledge of assembly is needed: we will try to introduce how modern CPUs work, and will have some fun with algorithms and SIMD parallelism.