llvm turning a switch to a lookup or linear transformation is somehow so funny to me. Me colleagues would grill me for writing a lookup or linear transformation and llvm just turns it into one
I like to watch those talks about low level programming languages as I find them fascinating but professionaly I write in Python/Kotlin/Dart idk finding a linear transform or lut in those languages would be odd I guess. But still I sometimes think in those idioms, but I guess change your language change your style makes sense. However writing python after writing a type safe language makes your python just so much better. So sometimes it makes sense to mix styles
Been wanting an in-depth explanation of how switch statements are optimized, perfect!
Very nice, very clear. An in depth explanation
Great talk great presenter, thanks!
Super interesting talk, thanks a lot!
(It's always good to know some internals, even if it's not immediately obvious what for at this point.)
llvm turning a switch to a lookup or linear transformation is somehow so funny to me. Me colleagues would grill me for writing a lookup or linear transformation and llvm just turns it into one
@@markusknoch2266 Why would they grill you? luts are one of the best optimisations you can make! ask any graphics programmer :D
I like to watch those talks about low level programming languages as I find them fascinating but professionaly I write in Python/Kotlin/Dart idk finding a linear transform or lut in those languages would be odd I guess. But still I sometimes think in those idioms, but I guess change your language change your style makes sense. However writing python after writing a type safe language makes your python just so much better. So sometimes it makes sense to mix styles