7 – C Opt 05 L V3

At this point, you have seen how inefficient code can cause your program to slow down by performing unnecessary CPU operations and memory accesses. Next, we will discuss the practicalities of optimizing your code. Code optimization is a big topic that involves analyzing algorithms, understanding how a computer executes instructions, and learning the nuances of … Read more

6 – 04 L C And RAM V1 RENDER V1

Let’s go into some detail about how C++ uses RAM. You can think of RAM as a set of slots where you can store information. When your program executes data, it is usually stored in RAM. This data can be overridden and in fact when you turn your computer off, data in RAM is erased … Read more

5 – 03 L Binary V1 RENDER V1

From a high level perspective, you’ve been able to see that limiting CPU instructions can make your code run faster. As humans, we think about interacting with a computer in terms of a programming language like C++. However, computers only understand instructions in binary. So everything you write will be seen by the computer as … Read more

4 – Nd113 Embedded Terminal V1

Hi. My name is Andrew Pastor, and I am a Content Developer for the Intro to Self-Driving Car Nanodegree. In this lesson, C++ Intro to Optimization, and the following lesson, C++ Optimization Practice, you’ll be using a feature of the classroom that you haven’t seen yet. When you go to the next part of the … Read more

3 – 02 L Intro To Comp HW V1 RENDER V1

Optimization is all about eliminating instructions that are not needed, while still getting the result you expect from your program. The fewer times that a program has to access memory and perform calculations, the more efficient your program will be. Optimization isn’t just about shoving your code through some black box until its performance increases, … Read more

2 – C Opt 01 L V2

Hi, I’m Anthony, the product lead here at Udacity for robotics. You’ve already learned a lot of syntax in C++, including how to write functions and classes. Now you should feel confident that anything you could write in Python, you could also write in C++. But let’s take a step back and talk about why … Read more

1 – Course Introduction

So, it’s me again, Sebastian. Hey, congratulations. You just completed something quite amazing, you translated something from Python to C++ and it sounds tedious. But I hope you learned from some of the basics how programming languages work. And how different programming languages work, because they are different. Both are the main industry standard and … Read more