Skip to content

East Bay: Value Semantics with Chandler Carruth

Photo of Bryce Adelstein Lelbach
Hosted By
Bryce Adelstein L.
East Bay: Value Semantics with Chandler Carruth

Details

I want to write one line of code to compute the top N elements in a sequence which satisfy a specific predicate. And I want to write the same line of code regardless of whether I can do this in-place or not:

x = std::slice(std::sort(std::filter(y, predicate)), 0, 10);

In this talk I will present a design of range algorithms which give them value semantics and show how this provides significant expressive power over other designs through composition. Finally, I will provide a reasonably in-depth treatment of the efficiency concerns this design presents and how we can overcome them and more.

Chandler Carruth leads the C++, LLVM and Clang teams at Google, building better diagnostics, tools, and more. Previously, he worked on several pieces of Google’s distributed build system. He makes guest appearances helping to maintain a few core C++ libraries across Google’s codebase, and is active in the LLVM and Clang open source communities. He received his M.S. and B.S. in Computer Science from Wake Forest University, but disavows all knowledge of the contents of his Master’s thesis. He is regularly found drinking Cherry Coke Zero in the daytime and pontificating over a single malt scotch in the evening.

We'll be holding the meeting at the International Computer Science Institute (ICSI) (https://www.icsi.berkeley.edu/icsi/) in Berkeley. For those traveling by BART, ICSI is about a block away from the downtown Berkeley BART station. For those who are planning to drive, the best options for parking is either the paid parking garage on Center Street, or the street parking spaces on Shattuck.

After the meeting, attendees are welcome to join the organizers and the speaker at Cesar (http://cesarberkeley.com/) in the gourmet ghetto for dinner and discussion.

Photo of Cpp Bay Area: C++ Programming In and Around Silicon Valley group
Cpp Bay Area: C++ Programming In and Around Silicon Valley
See more events