3

One crazy suggestion, install Python from source. Configure time about 42 sec. and compile time either around 3 minutes, or 48 sec with make -j. Your class will be using Python anyway, and seeing how long it takes to build from C vs. how long it takes to run Hello World in Python ought to begin to give them some appreciation of the differences. Otherwise, ...


1

Actually you have a misconception about compilers vs interpreters in the modern age. The stages of compilation (simplified) are Syntax Analysis (scanners - find the words and symbols and replace with internal values) Structural Analysis (parsers - build a tree equivalent) Optimization (maybe several stages - tree pruning etc) Code Generation (output the ...


Only top voted, non community-wiki answers of a minimum length are eligible