r/ProgrammingLanguages • • 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

81 comments sorted by

View all comments

Show parent comment

2

u/ThomasMertes 28d ago

I should have written:

Many security related bugs come from huge C libraries where almost nobody understands the code.

Sorry for that. Most was wrong. Using the word many is hopefully better. Note that I wrote ALMOST, which you left out every time you cited me. "nobody understands the code" is nonsense, but "almost nobody understands the code" is IMHO not nonsense. To make it clear: My critic is towards C and not about the size of the development team.

BTW.: I did not downvote you and I declare you as "winner" of this discussion. :-)

-1

u/arthurno1 28d ago edited 28d ago

Note that I wrote ALMOST, which you left out every time you cited me. "nobody understands the code" is nonsense, but "almost nobody understands the code" is IMHO not nonsense.

Now you are continuing to dishonestly try to make the argumentation to be about word picking when it is not.

My critic is towards C and not about the size of the development team.

Your list explicitly stated projects developed by a small number of developers. Sqlite is (or at least was) sponsored by Darpa; xy vulnerability was about social engineering and could happen in any size of the community; it was about tricking a responsible person to give access to a malicious person who stole an identity, pretended to be an useful person, and than executed an attack after gaining the credibility. That is not about huge C library almost nobody understands.

BTW.: I did not downvote you and I declare you as "winner" of this discussion. :-)

It is not about "winning" and "loosing" arguments; it is probably for you, otherwise you wouldn't make arguments you do. Constructive discussion is about being able to make honest arguments and honestly reflect over them. I think the arguments you make are emotional wishlist rather than real arguments, which you just confirmed with the last comment too.

But no, your language is not an alternative to graphics language, and I wouldn't call it systems language as you do. It is not. It is a systems language as much as Python or Perl, just with worse syntax and semantics. A "general purpose" is the term you are looking for. Look up the difference yourself.