CPU-Friendly Code - Borislav Stanimirov - code::dive 2018

Published: 16 December 2018
on channel: code::dive conference
345
5

The Big-O notation isn't everything. There are many complexities hidden from the programmer by the hardware and software platforms which execute their code.

Knuth said that premature optimization is the root of all evil, but early optimization doesn't necessarily need to be premature.

In this talk, we'll discuss the architecture of a typical CPU and how your software can benefit in terms of performance (and power consumption) if you employ this knowledge in writing it. We'll also talk about how operating systems typically manage programs and how to benefit in terms of performance using this knowledge.

The talk introduces some fundamental principles: data and instruction cache-locality, branch prediction, C and C++ compiler intrinsics, and SIMD. It will also briefly cover operating-system concepts like virtual memory, syscalls, and memory allocation.

https://codedive.pl/index/speaker/nam...


On this page of the site you can watch the video online CPU-Friendly Code - Borislav Stanimirov - code::dive 2018 with a duration of hours minute second in good quality, which was uploaded by the user code::dive conference 16 December 2018, share the link with friends and acquaintances, this video has already been watched 345 times on youtube and it was liked by 5 viewers. Enjoy your viewing!