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/delta_p_delta_x 29d ago edited 29d ago
This seems to be the latest hotness. Basically, getting rid of the extreme verbosity and explicitness in modern graphics APIs, everything is a pointer or index offset into a buffer, no more pipeline state objects; no more explicitly setting pixel and image formats, they're all just numbers in a buffer, etc.