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
0
u/Inconstant_Moo 🧿 Pipefish 29d ago
These claims are spurious and have been debunked.
Well of course nothing can guarantee quality, but (a) the sheer number of people they have depending on their standard libraries must do something to maintain quality (b) their test suites are huge (c) you know that thing in cartoons where the guy steps on a rake and it flips up and hits him in the face? I've done that twice in the same day, so if it's between them and me maybe it should be them.
I use my approach to show how capable Pipefish is. Of helping people to steal things things. A great philosopher once spoke of the advantages of theft over honest toil, and I forget the rest of the quote but one day I'm definitely going to find out if he had anything positive to say about slapping idiots round the back of the head, we need more philosophers who are also enablers.
---
FYI, the only parts of the Go stdlib written in C are parts of
cgo(the C FFI), parts ofos/user, and the parts ofnetthat do domain name resolution. Both of the last two are optional and have pure Go versions but the default is to use C. I don't know why. Reasons.