In this video we explore some of the techniques used by compiler authors achieve the mechanisms of Object Oriented languages. It is interesting to see how close C++ is to C, and how simple these mechanisms truly are under the hood. Although the video concentrates on C++, similar techniques are employed by the Java Virtual Machine, the .Net Virtual Machine in C#, and many other OO languages.
0:00 - Introduction
1:29 - Private member variables
6:26 - Member methods
11:38 - Polymorphism, Virtual Functions
'[OO] is a dirty rotten low down trick' is a quote by by Dr. Michael Brady from the lecture:
Microprocessor Systems Lecture 1: • Microprocessor Systems - Lecture 1
Support What's a Creel? on Patreon: / whatsacreel
FaceBook: / whatsacreel
Background images from HDRI Haven: https://hdrihaven.com/
Software used to make this vid: Visual Studio 2019 Community: https://www.visualstudio.com/downloads/
Blender: https://www.blender.org/
Audacity: https://www.audacityteam.org/
Davinci Resolve 16: https://www.blackmagicdesign.com/prod...
OpenOffice: https://www.openoffice.org/
Gimp: https://www.gimp.org/