5 ms·
Oh, interesting, could you share an example? It could be anything from strlen() to some SIMD optimized super loop of doom, so I'm curious what it is like
by lionkor 4y ago
Oh, interesting, could you share an example? It could be anything from strlen() to some SIMD optimized super loop of doom, so I'm curious what it is like
- secondcoming 4y agoIt’s nothing too complex really, they’d be expected to know what a memory access looks like and the branching mnemonics. So they’re given the code and explain their understanding of it and maybe try reverse-engineer it back into C/C++ etc. SIMD might be too masochistic!
- xxs 4y agoreasoning about SIMD code on an interview is a really high ask for a non-specialized position. I'd not even know all of the instructions w/o a reference. OTOH Assembly (w/o the vector instructions) is generally like a very simple C [I'd exclude some of the memory barrier on weaker memory modes as well]