CppCon 2016: Marshall Clow “STL Algorithms - why you should use them, and how to write your own"

Watch on YouTube

Show annotations

Download is disabled.

47,824

524

23

Genre: Education

Family friendly? Yes

Wilson score: 0.9377

Rating: 4.8318 / 5

Engagement: 1.14%

CppCon

Subscribe | 69.6K

Shared October 6, 2016

http://CppCon.org

Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/cppcon/cppcon2016

One of the most powerful features of the C++ standard library is the collection of basic algorithms. Everyone knows about sort and copy, but there are is a lot of powerful capabilities in the other algorithms as well. In this talk, I will explore some of the algorithms in the library, and give a rationale for writing your own, along with examples.

The motivation for writing your own algorithms is that you can create generic building blocks that can be used over and over again in your library or application, and which will allow your to program at a higher level of abstraction. Instead of thinking, "how do I sort this vector", you just call std::sort. The same should apply to the algorithms that are specific to your domain - once you write them.

Marshall Clow
Principal Engineer, Qualcomm, Inc.
Marshall is a long-time LLVM and Boost participant. He is a principal engineer at Qualcomm, Inc. in San Diego, and the code owner for libc++, the LLVM standard library implementation. He is the author of the Boost.Algorithm library and maintains several other Boost libraries.

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com



57:46

CppCon 2018: Jonathan Boccara “105 STL Algorithms in Less Than an Hour”

85K views

59:44

CppCon 2016: Timur Doumler “Want fast C++? Know your hardware!"

69K views

51:12

Radio Hacking: Cars, Hardware, and more! - Samy Kamkar - AppSec California 2016

309K views

29:55

20 Years of Product Management in 25 Minutes by Dave Wascha

288K views

8:53

REST API concepts and examples

4.2M views

11:37

SMART POINTERS in C++ (std::unique_ptr, std::shared_ptr, std::weak_ptr)

184K views

1:11:44

DebConf 14: QA with Linus Torvalds

449K views

1:01:42

CppCon 2017: Klaus Iglberger “Free Your Functions!”

15K views

1:38:32

CppCon 2018: Bjarne Stroustrup “Concepts: The Future of Generic Programming (the future is here)”

104K views

1:14:37

Beginner's Guide to the Bash Terminal

822K views

1:29:06

CppCon 2015: Herb Sutter "Writing Good C++14... By Default"

149K views

1:19:52

CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”

121K views

1:06:22

CppCon 2016: Tim Haines “Improving Performance Through Compiler Switches..."

18K views

56:48

105 STL Algorithms in Less Than an Hour

148K views

1:36:27

CppCon 2016: Dan Saks “extern c: Talking to C Programmers about C++”

88K views

53:31

105 STL Algorithms in Less Than an Hour - Jonathan Boccara [ACCU 2018]

21K views

1:04:07

CppCon 2015: Scott Schurr “constexpr: Introduction”

23K views

53:57

CppCon 2016: Cheinan Marks “I Just Wanted a Random Integer!"

11K views

21:31

The mind behind Linux | Linus Torvalds

2.9M views