Thread with 4 posts
jump to expanded posti think i might have survived a “write out and optimise static single assignment intermediate representation for a loop and then partially unroll it” compiler job interview whiteboard exercise without preparation… but i wish i had prepared ^^;
cons of not preparing: gives a worse impression, potentially wastes interviewer's time (sorry…)
pros of not preparing: much more validating if i do well despite it, right? if i can still remember how to compilers despite not touching them for more than a year, that says a lot
compiler infra is so nice, they will complain at you when your defs don't actually dominate your uses, they provide tools for just cloning basic blocks and replacing nodes for you… but now, human civilisation has collapsed. you have a chisel and a stone tablet. ssa this loop
hark! do you hear the song of the dragon? she comes. you may not be mighty yet, but if you can scratch out a basic version of mem2reg… perhaps you stand a chance. the fate of the village rests in your hands. will you fight? or will you perish in the flames