Hacker News new | ask | show | jobs
by ndesaulniers 96 days 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_p...

2. https://david.alvarezrosa.com/posts/devirtualization-and-sta...

3. https://llvm.org/docs/ProgrammersManual.html#the-isa-cast-an...

2 comments

Thanks a lot for the reference!
Thanks for the links, Nick! It's fascinating how LLVM relies so heavily on CRTP.
Consider amending those references to your post!
Sure! I have updated my post! Thanks for your reference.