3 ms·
Within DirectX I like the usage of types compared to OpenGL, where everything is GLuint. I like the explicit management of state and the use of views on resour
by novagameco 3y ago
Within DirectX I like the usage of types compared to OpenGL, where everything is GLuint. I like the explicit management of state and the use of views on resources to bind the same memory to different contexts. I vastly prefer HLSL to GLSL also. I know there's vulkan, but my experience was going to DirectX 11 from OpenGL 3+
Within Win32, it's similar though there's an overuse of HANDLEs. I like initializing things as structs and I like that ComPtrs provide built in memory management. A lot of posix APIs feel underpowered (semantically designed around reading files from tapes), and Microsoft often provides a safe _s version of most of them (Yes, some of which are part of the C standard library and some of which are not). There are various Win32 APIs I like (IOCP, for example), and it's all tied together with MSVC and the static analyzers available to the compiler (SAL). I don't think GCC has anything even close to SAL. I also haven't found a C++ IDE I like nearly as much as Visual Studio. I used to hate jetbrains UI but I actually tried IntelliJ recently and they redesigned the entire thing to be quite nice now, so maybe clion is nice (but I'm not willing to pay for it).
I also VASTLY prefer powershell to bash