Why does this stateful lambda function compile to assembly code?
Автор: Professource Code
Загружено: 2024-09-29
Просмотров: 4
Описание:
In this video, we explore why a stateful lambda function compiles to assembly code and discuss why a function that only returns a stateful lambda is compiled down to assembly.
✅ VIDEO INFO:
00:00:00 - Function 'foo' in C++ returns 'ret'.
00:00:21 - GCC, Clang missed function optimization, linking.
Welcome to Professource Code! You can call me "The Professor"
On this channel, you'll find tutorials, tips, and solutions to common programming and computer science problems.
➡️ Please SUBSCRIBE to allow me to continue making content like this. / @professourcecode
Content (except music & images) licensed under CC BY-SA https://meta.stackexchange.com/help/l....
Worker Vectors Images by Vecteezy (https://www.vecteezy.com/free-vector/... | https://www.vecteezy.com/free-vector/...)
This solution would not have been possible without the contributions of users: Enlico (stackoverflow.com/users/5825294) and Peter Cordes (stackoverflow.com/users/224132).
And the Stack Exchange Network (stackoverflow.com/questions/79017252).
All Trademarks are property of their respective owners.
Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions.
Please contact me if there is any problem through the email in the youtube channel details section
#c++ #assembly #gcc #lambda
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: