Ruby is interpreted, whereas C++ is compiled.
An interpreted language works like this:
- The high level language code is processed and translated into a low level language then gets executed.
- It does this on the fly, as the code is run, one line at a time.