r/ProgrammingLanguages • u/ThomasMertes • 29d ago
How programming languages approach graphics
Many general-purpose languages delegate graphics to third-party libraries (like SDL, Raylib, or OpenGL). Seed7 integrates portable 2-D graphics right into its standard library. This IMHO improves portability. I also thought about introducing operators / statements to do graphics, but until now I don't use operators or statements to do graphics.
29
Upvotes
View all comments
Show parent comment
7
u/tsanderdev 29d ago
For GL and especially Vulkan 100 lines is a massive understatement lol. There are projects like webgpu and sdl gpu that reasonably abstract 3d graphics though, but of course it's a lowest common denominator.