3 ms·
To me, compiled means fast with static types only, interpreted means slower and with possibly dynamic types. Most people will probably agree that C is compiled
by hot_gril 4y ago
To me, compiled means fast with static types only, interpreted means slower and with possibly dynamic types. Most people will probably agree that C is compiled and Python is interpreted. I know there are some counterpoints that break that, but I don't care, cause the designation is still useful.
The author has identified that "compiled" and "interpreted" don't mean much about how the code technically runs. What really makes the difference is the intended use case. Same reason tomatoes aren't fruits in layman's terms.
- wolf550e 4y agoConsider javac, hotspot jvm and a java ahead of time compiler. All three are compilers.
- hot_gril 4y agoJava is one of those counterexamples that falls in between. And fittingly, it's vaguely rated in between C and Python both in terms of performance and flexibility. Even though you could write a slow interpreter for C if you really wanted to.