Is it beneficial for a programmer to learn how to build a compiler?

前端 未结 17 1340
难免孤独
难免孤独 2021-02-07 01:10

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

17条回答
  •  Happy的楠姐
    2021-02-07 01:56

    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 ;)

提交回复
热议问题