Skip to content

Summary

This chapter introduced a number of concepts related to working with multiple values in code. Central to this has been the array, and the use of expressions to access elements within that array.

Mastering these concepts will take time, but it will be worth the effort. Once you really understand this, you will be able to create code that uses arrays to easily manage multiple values.

Now that we have arrays we can work with many values, but we are limited in the number we can load and work with at any time. Data allocated on the stack has to have a fixed size, and there is only a small amount of stack space available. To break free of these constraints we need to look to other spaces in memory, and interacting with the operating system to start manually working with memory allocations.