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

Rewrite For Performance: From Delphi to AVX2

Session
This talk originates from the archive. To the CURRENT program
Early bird discount Register until Oktober 6 and save up to 200 € Register now!

More talks in the program:

Infos
Tuesday, November 3 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.