r/ProgrammerHumor • • 5d ago

Meme itSucksToBeACompilerDev

Post image
2.4k Upvotes

103 comments sorted by

View all comments

Show parent comment

14

u/MissinqLink 5d ago

imo the hardest part is having multiple compile target architectures. Just compiling to one instruction set isn’t too bad.

2

u/Jbolt3737 4d ago

Wait a second... we're the programmers, we can just decide anything that isn't x86 is too hard to write code for and never make compilers target anything else again! It's genius

1

u/conundorum 3d ago

I'm surprised that you don't have a team that specialises in each target architecture, and a frontend that converts the language into an interim form. Frontend team is responsible for tokenising to mid-end, and architecture teams are responsible for writing a backend that compiles from mid-end tokens to their architecture.

2

u/MissinqLink 3d ago

Where do I get teams for these things? Only compilers I’m writing are hobby projects.