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
1
u/Long_Investment7667 Oct 30 '26
Putting too much into a language or is standard (base) library makes it hard to evolve the language because you want old code to compile with newer compilers without code changes. This is “just” backwards compatibility but with a huge set of data (the code) that needs to be supported