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

81 comments sorted by

View all comments

Show parent comment

0

u/arthurno1 29d ago edited 29d ago

I am not sure I understand your term "userspace library" correctly.

If you don't understand the difference between "userspace code" and "userspace library" and system calls and system libraries, you shouldn't be in the business of desining "systems programming languages" and software libraries at all.

Neither win32 nor X11 are systems library, they are both user-space libraries.

Just to give you a taste of your own rhetorics, which you so happily used in another thread. I suggest lookup what those terms mean. Since you have LLM:ed your entire "programming language" and "libraries", you can perhaps ask LLM to give you the answer. I am sure it will be unfortunately more knowledgable than you.

1

u/ThomasMertes 29d ago edited 29d ago

The general purpose language Seed7 is based on my Diploma thesis and my PhD thesis and has been released in 2005 long before LLMs were a thing.

1

u/arthurno1 29d ago

Very cool; how did you get a PhD if don't understand difference between user-space and kernel-space? Both x11 and win32 are user-space libraries. They are "system dependent", but they are user-space.