There is a lot of variety when it comes to the different types of programmers. In general, is beneficial for a programmer to learn how to build a compiler? In what cases would
I'm building a compiler as part of one side project and i must say it's a very satisfying task were you'll learn lots about how programming languages work and how code can be optimized.
knowing how code compiles and executes in both native and bytecode is also a great tool in C++ vs Java/C# vs C++/C# vs Java threads and flame wars ;)