4 ms·
Not really, code in low-level GPU shader language (I believe that's no longer allowed though) and compare it to HLSL. Compare intrinsics speed with inline assem
by stelonix 14y ago
Not really, code in low-level GPU shader language (I believe that's no longer allowed though) and compare it to HLSL. Compare intrinsics speed with inline assembly.
Sadly, we live in a world where the lie that compilers can optimize better than humans is widely spread. The reality is, compilers can optmize better than your everyday-javaguy (the kind of person who believes you can just throw more processing power at a problem while the programmer just needs to abstract ad nauseam).
I like using frameworks, libraries, high-level languages as much as anyone in here, but I know ASM will always be faster, just not always suitable for the issue.