Skip to content

Comment on Ask HN: What is the equivalent to Win32 on Linux

Comments

Instead of systems programming interfaces in Win32, you use POSIX. You know, files, shared memory, semaphores, threads, processes, pipes, ...

On the graphics side, though: classically, it's been XWindow: a base library called XLib talks the X protocol and does lower level manipulation; widgets implemented on top of that. With XLib you do things like repaint a window in response to expose events, somewhat analogously to a WndProc getting events.

Wayland has its own libraries.

Then you have things like working with framebuffers and SDL and whatnot.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.