|
|
|
|
|
by Const-me
2183 days ago
|
|
> Local lambdas are ideal for this. The problem with lambdas, you can't mark their operator() with __forceinline or __attribute__((always_inline)) attributes. For this reason, when writing high-performance manually vectorized code, lambdas are borderline useless. > MSVC is not what you should be using if you want performance. Security and compatibility has higher priority. gcc and clang don't deliver their C runtime libraries with windows updates. Also, debugging and crash diagnostic is much easier with MSVC. It's same on Linux BTW, only with gcc. |
|
The point was not about manually vectorized loops in particular. Why is that a problem if you are manually doing it, though?
> Security and compatibility has higher priority.
In commercial games, not really.
As for "compatibility", I am not sure what you mean.
> gcc and clang don't deliver their C runtime libraries with windows updates.
AFAIK you can use Windows libraries just fine. No need for using a different libc.
> Also, debugging and crash diagnostic is much easier with MSVC.
AFAIK, Clang can produce debugging info that you can use with VS.
I don't work on the environment, but it is what I have read here.