If a program does not make use of any unsafe elements, it can be compiled and executed by anyone. If any unsafe elements are used, the compiler marks the code as non-executable.
A program that is free of unsafe components can be readily executed by any user. However, if it contains unsafe elements, the compiler will prevent its execution.