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

1

u/joonazan 29d ago

A completely portable solution is nice for rendering static graphics but for animated ones, hardware acceleration is a must to not heat up the CPU for no reason.

5

u/tsanderdev 29d ago

Portable graphics in the standard library doesn't have to mean no gpu acceleration.

2

u/ThomasMertes 29d ago

The animations in the Seed7 demo programs have no performance problem (no stuttering and the CPU stays cold). :-)