Comments by "OpenGL4ever" (@OpenGL4ever) on "Anastasi In Tech"
channel.
-
2
-
1
-
@christopherjoseph651 Define high end programmer.
I can program in x86 assembly, but I doubt that everyone is using it in performance-critical code these days.
And there are several reasons for this:
1. The field where such optimizations in assembly are actually paid for is very small.
2. x86 CPUs in particular are very complex these days; you have to take a lot into account if you want to manually achieve faster code in x86 assembly than a highly optimized compiler produces. The effort can be disproportionate to the result.
3. You lose platform independence. That's why it makes sense to alternatively have a code branch for the same task that was written in a high-level language. And then at the latest you will realize whether your extra effort was even justified.
There are special cases where x86 assembly still makes sense, no question, but the area is very small.
So no, I would disagree with you on this statement that every high end programmer will write the critical portions of their code using in-line assembly. Of course, things can look different for other architectures, especially microcontrollers, but I wouldn't call them high-end programmers. For me, these are more like normal forest and meadow programmers who, due to the limited hardware resources available on microcontrollers, then write the code in assembly language, which makes the code a little bit faster and smaller.
1
-
1
-
1
-
1
-
1