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
2
u/Inconstant_Moo 🧿 Pipefish 28d ago
I'm talking specifically about Go, and the history of its development is well-known. Its standard libraries were built in-house and Golang is free and open-source. This is because Google built it not to sell to people but to use themselves to write software with. For this they wanted reliability and the many eyeballs that FOSS brings to a project. Unlike Adobe Flash, their standard libraries are famous for being well-tested and bug-free. Worldwide in production I estimate people are calling for example their
timelibrary between 10 billion and 100 billion times a second. If there was something wrong with it, someone would notice. I am only one person, spread thin, I'm not going to try and reimplement that better. Time is short,timeis long.