Session Details

EKON 24
The Conference for Delphi & More
November 2 - 4, 2020 | Meliá Düsseldorf

Arnaud Bouchez

en

03 Nov 2020
09:00 - 10:00
Very Early Bird Register until September 3 and save up to € 200! Register now!

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.