• 4 Posts
  • 196 Comments
Joined 1 year ago
cake
Cake day: January 3rd, 2024

help-circle






  • Why is OpenGL considered an API?

    An API is a promise - make these calls, get these kinds of results. An API often has more than one library that implements it. At minimum, there may be completely different code for different operating systems. At best, there may be completely separate vendors that implement identical APIs (Kubertnetes, and the Open Container Initiative, for examples).

    Why is it necessary to use other libraries like GLAD, freeGLUT or GLFW to interface with OpenGL?

    I don’t know.

    where you install these packages that get used like libraries? What’s the difference?

    Almost all packages are composed of libraries. Plenty of libraries lack packages. Packaging and delivering software is an entire field of study. As an expert at packaging and delivering software, I sometimes forget that a library I love still lacks a decent package. So I do my best to contribute a package, when I see a need.