2 ms·
Happy to see discussion of LLVM's interesting implementation of Static Polymorphism using CRTP. Some recommended reads: 1. https://en.wikipedia.org/wiki/Curio
by ndesaulniers 7mo ago
Happy to see discussion of LLVM's interesting implementation of Static Polymorphism using CRTP. Some recommended reads:
1. https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern https://en.wikipedia.org/wiki/Curiously_recurring_template_p...
2. https://david.alvarezrosa.com/posts/devirtualization-and-static-polymorphism/ https://david.alvarezrosa.com/posts/devirtualization-and-sta...
3. https://llvm.org/docs/ProgrammersManual.html#the-isa-cast-and-dyn-cast-templates https://llvm.org/docs/ProgrammersManual.html#the-isa-cast-an...
- thecloudlet 7mo agoThanks for the links, Nick! It's fascinating how LLVM relies so heavily on CRTP.
- ndesaulniers 7mo agoConsider amending those references to your post!
- thecloudlet 7mo agoSure! I have updated my post! Thanks for your reference.
- dalvrosa 7mo agoThanks a lot for the reference!