
3 segments available
This is a clip from a conversation with Bjarne Stroustrup from Nov 2019. New full episodes are released once or twice a week and 1-2 new clips or a new non-podcast video is released on all other days. You can watch the full conversation here: https://www.youtube.com/watch?v=uTxRF5ag27A (more links below) Podcast full episodes playlist: https://www.youtube.com/playlist?list=PLrAXtmErZgOdP_8GztsuKi9nrraNbKKp4 Podcasts clips playlist: https://www.youtube.com/playlist?list=PLrAXtmErZgOeciFP3CBCIEElOJeitOr41 Podcast website: https://lexfridman.com/ai Podcast on Apple Podcasts (iTunes): https://apple.co/2lwqZIr Podcast on Spotify: https://spoti.fi/2nEwCF8 Podcast RSS: https://lexfridman.com/category/ai/feed/ Note: I select clips with insights from these much longer conversation with the hope of helping make these ideas more accessible and discoverable. Ultimately, this podcast is a small side hobby for me with the goal of sharing and discussing ideas. I did a poll and 92% of people either liked or loved the posting of daily clips, 2% were indifferent, and 6% hated it, some suggesting that I post them on a separate YouTube channel. I hear the 6% and partially agree, so am torn about the whole thing. I tried creating a separate clips channel but the YouTube algorithm makes it very difficult for that channel to grow. So for a little while, I'll keep posting clips on this channel. I ask for your patience and to see these clips as supporting the dissemination of knowledge contained in nuanced discussion. If you enjoy it, consider subscribing, sharing, and commenting. Bjarne Stroustrup is the creator of C++, a programming language that after 34 years is still one of the most popular and powerful languages in the world. Its focus on fast, stable, robust code underlies many of the biggest systems in the world that we have come to rely on as a society. If you're watching this on YouTube, many of the critical back-end component of YouTube are written in C++. Same goes for Google, Facebook, Amazon, Twitter, most Microsoft applications, Adobe applications, most database systems, and most physical systems that operate in the real-world like cars, robots, rockets that launch us into space and one day will land us on Mars. Subscribe to this YouTube channel or connect on: - Twitter: https://twitter.com/lexfridman - LinkedIn: https://www.linkedin.com/in/lexfridman - Facebook: https://www.facebook.com/lexfridman - Instagram: https://www.instagram.com/lexfridman - Medium: https://medium.com/@lexfridman - Support on Patreon: https://www.patreon.com/lexfridman
Bjarne Stroustrup highlights the elegance of constructors and destructors in C++. He explains how constructors set up the environment for an object while destructors clean up resources, eliminating the need for garbage collection. This feature is fundamental to C++'s predictable performance and minimal overhead, showcasing the beauty of resource management in programming.
"there's a lot of features that came in in C++ 11 there's a lot of features at the birth of C++ they were amazing and ideas with concepts in 2020 what to you is the most justjust to you personally beau..."
Stroustrup discusses the philosophical underpinnings of language design, emphasizing that constructors and destructors represent the birth and death of objects in C++. He argues that understanding these concepts is crucial for effective type creation and resource management, which are central to C++. This segment underscores the importance of philosophy in programming language development.
"don't have to use garbage collection that's how we can get predictable performance that's how you can get the minimal overhead in many many cases and have really clean types it's the idea of construct..."
In this segment, Bjarne Stroustrup elaborates on the essential operations for C++ types, including control over copying and moving objects. He explains how these operations, alongside constructors and destructors, form the core functionality of C++. This discussion highlights the intricate design of C++ and its focus on efficient resource management.
"life yeah that's right by the way philosophy is important you can't do good language design without philosophy because what you are determining is what people can express and how this is very importan..."