Skip to content

Fast machine code and argument dependent lookup in C++

Photo of Daniel Eriksson
Hosted By
Daniel E.
Fast machine code and argument dependent lookup in C++

Details

Welcome to the first meet-up for the autumn!

This time we will be hosted by Smart Eye who will be presenting two talks this evening. Read more about Smart Eye down below!

The Agenda for the evening
18:00-18:45 Doors open and there will be some food and drinks and the opportunity to mingle. (Vegetarian and vegan food options will be available)

18:45-19:00 Welcome and an introduction by our host
19:00-19:30 Talk 1: Writing C++ code that translates to fast machine code
19:30-20:00 Talk 2: Argument-dependent lookup in C++
20:00-20:45 Demo of Smart Eye equipement, opportunity to mingle some more
20:45-21:00 Closing

Abstracts for the talks:

Writing C++ code that translates to fast machine code
One of the key strengths of C++ is that it produces fast program executables, so if you want your programs to be fast, C++ is a natural choice. But, does all C++ code produce optimal machine code?

In this talk we will highlight a few things to consider when aiming for optimal execution performance, ranging from the importance of how to structure your code, to knowing your target CPU architecture and compiler strengths, quirks and limitations.

Which function are you calling? Argument-dependent lookup in C++
Argument-dependent lookup allows using functions and operators without using fully qualified names. It is an important feature but it can lead to non-intended behavior as the compiler might look for functions in places you did not initially expect. In this talk we will show a few examples of when ADL caused issues and non-intended behavior.

About the host and sponsor
Smart Eye is the global leader in Human Insight AI, technology that understands, supports and predicts human behavior in complex environments. Bridging the gap between humans and machines for a safe and sustainable future. Founded in 1999, with our subsidiaries Affectiva and iMotions, we are a global company headquarted in Sweden. Our customers include NASA, Nissan, Boeing, Honeywell, Volvo, GM, BMW, Geely, Harvard University, 28% of the Fortune Global 500 companies and over 1,300 research organizations around the world.

Photo of GbgCpp - Gothenburg C++ Meetup group
GbgCpp - Gothenburg C++ Meetup
See more events