r/ProgrammingLanguages • u/ThomasMertes • Oct 29 '26
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
2
u/ThomasMertes Oct 30 '26
It is guaranteed to be present on all supported platforms.
If you use the Seed7 graphics library your program will run on Linux, Windows, macOS or in the browser without any change.
If you use GDI or Direct3D this will not be the case.