Every now and then I read about people writing compilers. Why does anyone do that, ever? Don't we already have some?

Jun 30, 2025 · 11:58 PM UTC

Don't get me wrong. I play Angry Birds, so it's not like everything I do is special.
4
Replying to @ExtinguishedEng
"Every now and again I read about people painting their own artwork. Why does anyone do that, ever? Don't we already have paintings?" 😉
1
5
Is that how people feel about compilers? (I'm picturing some sort of gallery.) I thought we just needed it to execute the code we write.
Replying to @ExtinguishedEng
Consider what languages you love most or find most useful. Someone thought each of those was a good idea. I hear it is some of the most frustrating fun work you can do, but I've decided to enjoy their frustration rather than make my own. I have built a lot of DSLs in OOPLs.,
Replying to @ExtinguishedEng
I'm doing it because it's a rare opportunity to exercise parts of my skill set that I don't get paid to exercise. Plus it's a lot of fun and very rewarding.
7
Replying to @ExtinguishedEng
We don’t think about compilers because people are still out here making our compilers better.
1
1
Replying to @ExtinguishedEng
It’s actually a great way to learn a load of engineering skills, parsing , symbolic lookup, grammars, evaluation, code generation, etc. I’ve often reused the design patterns behind those in other software.
2
Replying to @ExtinguishedEng
I've done it. You learn a lot.
2
Replying to @ExtinguishedEng
Try it. You’ll see why people keep going back. You get to exercise a meta that you can’t anywhere else.
1
Replying to @ExtinguishedEng
you have some because 30 years ago we were writing compilers in our work and spare time. you're welcome.
Replying to @ExtinguishedEng
I think it's not so much about writing a compiler to provide a new compiler to the world. It's more a mixture of curiosity and getting deeper insights into how a language works and besides that I think it is fun.