Recommendations for a lightweight cross platform windowing library?

This page summarizes the projects mentioned and recommended in the original post on /r/C_Programming

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • freeglut

    Free implementation of the OpenGL Utility Toolkit (GLUT)

  • FreeGLUT - Modeled after the old GLUT from the early days of OpenGL. Very light; supported by almost all desktop (Win, Mac, Posix) platforms.

  • GLFW

    A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

  • Like, creating windows and context for OpenGL? GLFW is a popular choice, and has a lot of documentation (Not entirely sure how lightweight it is, though!)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nuklear

    A single-header ANSI C immediate mode cross-platform GUI library (by Immediate-Mode-UI)

  • Just in case what you're looking for is windowing and a UI inside your OpenGL context Nuklear is basically the,only on I know of that isn't C++

  • SDL-1.2

    Simple Directmedia Layer, 1.2 branch ... ***DEPRECATED***, please use https://github.com/libsdl-org/SDL for new projects!

  • SDL - The older 1.2 version. However this has portability benefits to older platforms (old Linux, Amiga, etc). It is also simpler than SDL2 and as such can be easily "mapped" on-top of other APIs. For example Emscripten provides it inbuilt, mapped over the DOM / Canvas stuff.

  • sokol

    minimal cross-platform standalone C headers

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts