[fpc-pascal] Here is real time graphics and physics simulation, library

Ingemar Ragnemalm ingemar at ragnemalm.se
Mon Aug 1 10:44:11 CEST 2022


Den 2022-08-01 kl. 09:40, skrev fpc-pascal-request at lists.freepascal.org:
> Date: Sun, 31 Jul 2022 09:05:56 -0400
> From: Anthony Walter <sysrpl at gmail.com>
>
> Michael, it's the same logic behind my now 12 year old Bare game system
> that did the exact same thing. I am creating a small lPascal ibrary that
> removes a lot of cruft and depends minimally on SDL for creating windows,
> managing input, handling sound, threads / mutexes. and move most of the
> core of what you need into a single unit (Tiny.System). In to browsable and
> organized uint replaced all string handling with much more efficient and
> powerful functions (see my FTP client and other socket protocols, my JSON
> parser, ), I also add in multicast delegates for events, path handling,
> file handling, file search, stream handling, and better threads (my simple
> threads were copied into ).

I have exactly the same principle for all code I create for my teaching. 
I maximize transparency and keep the size down. For graphics, I go even 
further and only depend on OpenGL and the underlying window system.

There are big libraries with lots of bells and whistles. They can be 
useful, but not to get started with. I see myself replacing 100 files 
with one, megabytes of code with kilobytes.

It is pretty hard to balance usability and minimum size but I think I am 
doing fairly well.

So, reimplementing to something smaller and more transparent is not a 
bad thing at all. It is a matter of goals.

/Ingemar




More information about the fpc-pascal mailing list