I am creating a GUI program that will run 24/7. I couldn’t find much online on the subject, but is OpenGL stable enough to run 24/7 for weeks on end without leaks, crashes, etc?
Should I have any concerns or anything to look into before delving too deep into using OpenGL?
I know that OpenGL and DirectX are primarily used for games or other programs that aren’t used for very long lengths. Hopefully someone here has some experience with this or knowledge on the subject. Thanks.
EDIT: Sorry for the lack of detail. This will only be doing 2D rendering, and nothing too heavy, what I have now (which will be similar to production) already runs at a stable 900-1000 FPS on my i5 laptop with Radeon 6850m
Going into
OpenGLjust for making aGUIsounds insane. You should be worried more about what language you use if you are concerned about stuff like memory leaks. Remember that inC/C++you manage memory on your own.Furthermore, do you really need the
GUIto be running 24/7? If you are making a service sort of application, you might as well leave it in the background and make a second application which provides theGUI. These two applications would communicate via somaIPC(sockets?). That’s how this sort of thing usually works, not having a window open all the time.In the end, memory leaks are not caused by some graphical library, but more by the programmer writing bad code. The library should be the last in your list of possible reasons for memory leaks/creashes.