Session Details

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

Arnaud Bouchez

en

03 Nov 2020
09:00 - 10:00
Team discount Register 3+ colleagues and save up to € 100 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.