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
3
u/ThomasMertes 28d ago
No, this famous XKCD strip unfortunately describes reality. See the list of projects with few maintainers I posted.
Referring to libraries written by FAANG you wrote:
If FAANG companies sell libraries this is probably true. But spending money on a library and giving it away for free is usually not their thing. Adobe Flash was given away for free and it was not famous for being well tested and bug free. Companies want to make money, which is okay.
If you think that FAANG software is better, fine for you. I have a different view. And I think that most standard libraries are written by open source volunteers and not by FAANG.
In my daily life I use Linux, bash, GCC, clang, emacs, X11, etc. All of these are open source and nothing is from any FAANG company.
Yes, I know that Pipefish is capable of calling Go, as shown in png.pf.
According to my definition of memory safety Go is not a memory safe language (look up the article on my argumentation for that). From my point of view allowing direct calls to C functions or Go functions both make a language memory unsafe. So, if Pipefish allows direct calls to Go or C, it is not a memory safe language. If you read my article you see that I consider many languages as not memory safe.