3 ms·
Very low level hardware access where you need no use architecture specific opcodes not directly accessible from a higher level language. Also, performance crit
by simias 13y ago
Very low level hardware access where you need no use architecture specific opcodes not directly accessible from a higher level language.
Also, performance critical code where you feel you can do a better job than the compiler (good luck with that nowadays).
In the first case I feel LLMV's IR wouldn't offer any significant advantage over inline ASM in some C, in the latter I'm quite perplex. Writing very fast assembly usually means targeting a very specific architecture and use tips and tricks that will make your code run faster than what the compiler might do, in this case I fail to see how that would work "portably" with this intermediate language.
So yeah, I don't really see what writing in this language offers over writing some plain old C. I can't really see it replace ASM for... well anything really.