'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]
Video Statistics and Information
Channel: ACCU Conference
Views: 30,543
Rating: 4.8860397 out of 5
Keywords: ACCU, C++, Developer, Conference, 2016
Id: AxnotgLql0k
Channel Id: undefined
Length: 62min 17sec (3737 seconds)
Published: Mon May 16 2016
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
I love his talks
I was there. The atmosphere at the keynote was a riot, video does not do it justice. Everybody talked about it for the rest of the week. They waited in line to offer Andrei beers and even those who work on concepts came to thank him for "destroying". This was one of the best talks Ive seen and I'm old and jaded!
Just uploaded the slides here (with slightly different benchmark results) in order to simplify matters for people who'd like to implement the partition algorithm. AMA!
This may just be the best sales pitch for a programming book I've ever read.
Niice talk - Andrei is one of my favorite presenters.
Just wanted to mention that the kind of introspection and compile-time branching mentioned in the talk are possible in C++14, albeit with a less convenient syntax.
It is possible to branch on compile-time conditions using
static_if
(example from my C++Now 2016 talk) and to check for the availability of member functions and fields using facilities similar toboost::hana::is_valid
.You could also elegantly combine various function that depend on compile-time conditions using constructs such as
fit::conditional
.I am not sure about his arguments against C++ concepts or at least not sure yet. But the partition algorithm seems a great win. How do we get it in STL?
His partition algorithm is still overly complicated, at least in the context of quicksort (where we can assume that the pivot is the median of at least 3 elements). In pdqsort I have what I believe is an optimal partitioning scheme. I'm in the process of writing a paper on it, which is almost done.
For quick reference, this is the partition algorithm that puts all equal elements on the left:
Jebus, this belongs in /r/ProgrammerHumor. Thanks for the laughs. Great talk!
u/andralex you should do standup. It's IT standup. silicon valley. this is gold!