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/Inconstant_Moo 🧿 Pipefish Oct 30 '26
But for the use-cases people write those things for, that's kind of what they want. People are going to want to say "Yes your abstractions are very nice but I want to do <thing> to make hot loop go brr. I need to get these scissors from here to there very quickly and no programming language is going to stop me from running with them."
And so you delegate the creation of abstractions to the writers of libraries and frameworks and the language primitives expose the metal.
The sameness of the projects is that most indie langdevs who aren't me have followed similar career trajectories that led them to want to solve similar problems.