# GLFW

9 Hacker News commenters recommended GLFW and 2 criticized it, November 2025 to November 2026. It was recommended in 5 of 13 months.

**Verdict:** Small, focused library people use to open windows and handle input for OpenGL and games across platforms. Common caveat: weak Wayland support and no recent active maintainers.

## Why people recommend it

- Saves writing cross-platform windowing code (2 comments): "Writing 1300 lines of non-cross-platform windowing code sounds like masochism." ([source](https://news.ycombinator.com/item?id=47479314)) "glfw is smaller and more focused" ([source](https://news.ycombinator.com/item?id=49902381))
- Standard choice in game development (2 comments): "I do game development so I'm most familiar with the ones commonly used in game engines" ([source](https://news.ycombinator.com/item?id=47583251)) "Generally yes (or GLFW, or SDL)" ([source](https://news.ycombinator.com/item?id=47480375))

## What people warn about

- Weak Wayland support (2 comments): "GLFW has had no active maintainers for a couple years and has poor support for Wayland" ([source](https://news.ycombinator.com/item?id=48986002)) "they all have to work around missing Wayland features" ([source](https://news.ycombinator.com/item?id=47488115))

## Alternatives hackers recommend

- [winit](https://hackerapproved.com/p/winit.md): 6 recommend
- [libxcb](https://hackerapproved.com/p/xcb.md): 6 recommend
- [Xlib](https://hackerapproved.com/p/xlib.md): 5 recommend

## Cite as

Hacker Approved, "GLFW", https://hackerapproved.com/p/glfw/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
