Source
- URL: https://x.com/SebAaltonen/status/2001000839574643138
- Author: Sebastian Aaltonen (@SebAaltonen)
- Posted: 2025-12-16 18:45:51
Thread
1/ @SebAaltonen
My “No Graphics API” blog post is live! Please repost :)
https://www.sebastianaaltonen.com/blog/no-graphics-api
Branches: 2025-12-16-m_schuetz-a-shoutout-to-nv-shader-buffer-load-which-already, 2025-12-16-archo5dev-from-what-ive-been-able-to-find-from-public-info, , 2025-12-16-Sebasti66855537-finally, 2025-12-16-goddtriffin-congrats-on-getting-this-out-in-the-world-i-can, , 2025-12-16-ecoezen-its-been-a-great-read-a-long-but-great-thanks-for, 2025-12-16-fedyac-minor-nitpick-the-trick-of-packing-depth-and, 2025-12-16-EskilSteenberg-make-it-happen-what-shader-format-are-you, , 2025-12-17-JoNax_97-read-it-in-one-gom-i-even-understood-some-of-it, , , 2025-12-17-ap_in_indy-very-disappointing-to-see-some-of-the-shallow, 2025-12-17-JoaoBapt-as-the-heap-management-in-metal-is-automatic, 2025-12-17-svadrb-thank-you-awesome-post-if-one-were-to-implement, 2025-12-17-PeteroUPC-i-notice-one-missing-topic-here-the-issue-of, 2025-12-17-ISzlachtycz-this-was-a-great-post-i-agree-with-almost, 2025-12-17-ISzlachtycz-one-thought-that-came-to-my-mind-would-it-be, 2025-12-17-shihabskhan-hi-great-article-for-someone-who-knows-gpu-from, , 2025-12-17-bobthebobthebo3-a-minimal-api-like-this-feels-like-itd-be-fun-to, 2025-12-17-unconed-re-we-should-keep-using-index-buffers-and-indexed, , 2025-12-18-pmathia0-hey-great-post-does-slang-adress-pointer-issues, 2025-12-18-unconed-about-this-part-the-removal-of-data-bindings, 2025-12-18-RehtseStudio-did-you-update-your-article-there-was-a-section, 2025-12-20-MatRopert-really-interesting-stuff-i-would-however-not-be, 2025-12-27-kennyalive0-great-work-this-kind-of-knowledge-is-not-exposed, 2025-12-27-SoftEngineer-hey-sebastian-big-fan-of-your-work-amazing, 2025-12-28-steffenbauch-i-think-this-part-sounds-self-contradictory-cuda, 2025-12-30-BlackPhotons-whatd-be-really-cool-is-to-have-a-translation, 2025-12-30-PeteroUPC-i-notice-that-your-proposed-minimal-api-makes-use, , 2026-02-05-xyzabcrgb-why-does-every-hard-core-programming-blog-book, , 2026-05-22-willmorong-great-article-i-remember-reading-it-a-while-back, 2026-05-26-oisyn-found-a-small-typo-in-directx-11-the-structured
2/ @SebAaltonen
Took me 1.5 years to write this. I rewrote it completely during last summer, and did a big refactoring last month. As Hemingway would have put it: “First draft of everything is shit”. Hopefully the final result isn’t :)
3/ @SebAaltonen
Albeit the name of the blog post is “No Graphics API”, I ended up writing a new graphics API in the end. At least it’s only 150 lines. WebGPU header is 2700 lines and Vulkan is 20,000 lines, so at least there’s significantly less API in my API.
Branches: 2025-12-17-BlurBusters-very-nice-how-big-do-you-think-the-webgl-header, 2025-12-18-Quuux-less-api-is-not-a-good-thing-per-se-clean-and