Learn x86-64 assembly by writing a GUI from scratch
⏴ Back to all articles
Published on 2023-05-31
Table of contents
What do we need?
X11 basics
Main in x64 assembly
A stack primer
A small stack example
Opening a socket
Connecting to the server
Sending data over the socket
Generating ids
Opening a font
Creating a graphical context
Creating the window
Mapping the window
Polling for server messages
Drawing text
The end
Addendum: the full code
Discussions: Hacker News, r/programming, Lobsters.
Most people think assembly is only to be used to write t...
Read more at gaultier.github.io