They get some basic understanding about the compilation process at some classes through the first two years.
When I attended my CS course, in the 3rd years I got some understanding about programming language structure and learned about compilers at the end. It's cool that you can learn about that earlier.