Re: GIMP 3.0.0-RC1

Liste des GroupesRevenir à col misc 
Sujet : Re: GIMP 3.0.0-RC1
De : commodorejohn (at) *nospam* gmail.com (John Ames)
Groupes : comp.os.linux.misc comp.os.linux.advocacy
Date : 12. Feb 2025, 22:21:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250212132107.00001351@gmail.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
User-Agent : Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32)
On Wed, 12 Feb 2025 20:20:04 -0000 (UTC)
candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
wrote:

If you really need to, you can also pass by pointer?

I admit I'm not deeply familiar with this, but AFAICT Pascal pointers
enforce type-safety as defined by the rest of the language, meaning
that (IIUC) you can pass a function that expects a pointer to an ARRAY
[1..10] OF CHAR any given ARRAY [1..10] OF CHAR, but trying to give it
a pointer to an ARRAY [1..15] OF CHAR would still be a type mismatch.

So what do you do, then? Refactor the function to accept a pointer to a
single CHAR? Add individual wrapper functions to decompose arrays of
specific sizes into individual elements, and call the actual function
once per element? What if the function logic can't be serialized across
individual elements?

The whole thing is just braindead. C makes you do all the fancy
footwork yourself if you want to support arrays of arbitrary size, but
it'll at least let you *do* it; other languages like Basic or Python
provide a UBound() function or for-each construct so that you can do
the same thing safely and simply (if at a slight performance penalty.)
Pascal (as Wirth designed it) forces you through all the rigamarole of
the former without giving you the attendant flexibility, even though it
already *knows* the sizes of arrays and could just as easily provide
the latter.

Truly demented, and worthy of a place in the B&D hall-o'-shame all by
itself.


Date Sujet#  Auteur
26 Dec 24 * GIMP 3.0.0-RC11119Chris Ahlstrom
26 Dec 24 `* Re: GIMP 3.0.0-RC11118Farley Flud
26 Dec 24  +* Re: GIMP 3.0.0-RC133John Ames
26 Dec 24  i+* Re: GIMP 3.0.0-RC130Farley Flud
26 Dec 24  ii`* Re: GIMP 3.0.0-RC129John Ames
26 Dec 24  ii +* Re: GIMP 3.0.0-RC127Farley Flud
26 Dec 24  ii i+- Re: GIMP 3.0.0-RC11John Ames
27 Dec 24  ii i+* Re: GIMP 3.0.0-RC12The Natural Philosopher
27 Dec 24  ii ii`- Re: GIMP 3.0.0-RC11Farley Flud
27 Dec 24  ii i`* Re: GIMP 3.0.0-RC123TJ
27 Dec 24  ii i `* Re: GIMP 3.0.0-RC122The Natural Philosopher
28 Dec 24  ii i  +* Re: GIMP 3.0.0-RC120-hh
28 Dec 24  ii i  i+- Re: GIMP 3.0.0-RC11Physfitfreak
29 Dec 24  ii i  i`* Re: GIMP 3.0.0-RC118-hh
29 Dec 24  ii i  i +* Re: GIMP 3.0.0-RC116Farley Flud
29 Dec 24  ii i  i i+- Re: GIMP 3.0.0-RC11-hh
29 Dec 24  ii i  i i`* Re: GIMP 3.0.0-RC114TJ
30 Dec 24  ii i  i i +* Re: GIMP 3.0.0-RC111rbowman
30 Dec 24  ii i  i i i+- Re: GIMP 3.0.0-RC11The Natural Philosopher
30 Dec 24  ii i  i i i`* Re: GIMP 3.0.0-RC19Carlos E.R.
31 Dec 24  ii i  i i i +* Re: GIMP 3.0.0-RC14Carlos E.R.
31 Dec 24  ii i  i i i i`* Re: GIMP 3.0.0-RC13The Natural Philosopher
31 Dec 24  ii i  i i i i +- Re: GIMP 3.0.0-RC11Carlos E.R.
31 Dec 24  ii i  i i i i `- Re: GIMP 3.0.0-RC11rbowman
31 Dec 24  ii i  i i i +* Re: GIMP 3.0.0-RC13The Natural Philosopher
31 Dec 24  ii i  i i i i+- Re: GIMP 3.0.0-RC11The Natural Philosopher
31 Dec 24  ii i  i i i i`- Re: GIMP 3.0.0-RC11Lawrence D'Oliveiro
31 Dec 24  ii i  i i i `- Re: GIMP 3.0.0-RC11The Natural Philosopher
30 Dec 24  ii i  i i +- Re: GIMP 3.0.0-RC11D
30 Dec 24  ii i  i i `- Re: GIMP 3.0.0-RC11D
29 Dec 24  ii i  i `- Re: GIMP 3.0.0-RC11The Natural Philosopher
28 Dec 24  ii i  `- Re: GIMP 3.0.0-RC11Farley Flud
27 Dec 24  ii `- Re: GIMP 3.0.0-RC11D
27 Dec 24  i`* Re: GIMP 3.0.0-RC12Chris Ahlstrom
27 Dec 24  i `- Re: GIMP 3.0.0-RC11John Ames
27 Dec 24  +* Re: GIMP 3.0.0-RC11020Farley Flud
28 Dec 24  i`* Re: GIMP 3.0.0-RC11019186282@ud0s4.net
28 Dec 24  i +* Re: GIMP 3.0.0-RC119Farley Flud
28 Dec 24  i i+* Re: GIMP 3.0.0-RC112The Natural Philosopher
28 Dec 24  i ii+- Re: GIMP 3.0.0-RC11Diego Garcia
29 Dec 24  i ii+- Re: GIMP 3.0.0-RC11Lawrence D'Oliveiro
29 Dec 24  i ii`* Re: GIMP 3.0.0-RC19186282@ud0s4.net
29 Dec 24  i ii +* Re: GIMP 3.0.0-RC16D
29 Dec 24  i ii i+* Re: GIMP (and digiKam and other photo management programs)2Lars Poulsen
30 Dec 24  i ii ii`- Re: GIMP (and digiKam and other photo management programs)1rbowman
30 Dec 24  i ii i`* Re: GIMP 3.0.0-RC13D
31 Dec 24  i ii i `* Re: GIMP 3.0.0-RC12186282@ud0s4.net
31 Dec 24  i ii i  `- Re: GIMP 3.0.0-RC11D
29 Dec 24  i ii `* Re: GIMP 3.0.0-RC12The Natural Philosopher
29 Dec 24  i ii  `- Re: GIMP 3.0.0-RC11Lawrence D'Oliveiro
28 Dec 24  i i+- Re: GIMP 3.0.0-RC11Lem Novantotto
29 Dec 24  i i`* Re: GIMP 3.0.0-RC1 (and digiKam and showFoto)5Lars Poulsen
29 Dec 24  i i +- Re: GIMP 3.0.0-RC1 (and digiKam and showFoto)1Carlos E.R.
29 Dec 24  i i +* Re: GIMP 3.0.0-RC1 (and digiKam and showFoto)2Lawrence D'Oliveiro
29 Dec 24  i i i`- Re: GIMP 3.0.0-RC1 (and digiKam and showFoto)1Lars Poulsen
29 Dec 24  i i `- Re: GIMP 3.0.0-RC1 (and digiKam and showFoto)1-hh
28 Dec 24  i +* Re: GIMP 3.0.0-RC1846Computer Nerd Kev
29 Dec 24  i i`* Re: GIMP 3.0.0-RC1845D
30 Dec 24  i i `* Re: GIMP 3.0.0-RC1844D
30 Dec 24  i i  +- Re: GIMP 3.0.0-RC11Carlos E.R.
30 Dec 24  i i  +- Re: GIMP 3.0.0-RC11Computer Nerd Kev
31 Dec 24  i i  `* Re: GIMP 3.0.0-RC1841D
1 Jan 25  i i   +* Re: GIMP 3.0.0-RC12Lawrence D'Oliveiro
1 Jan 25  i i   i`- Re: GIMP 3.0.0-RC11Chris Ahlstrom
1 Jan 25  i i   `* Re: GIMP 3.0.0-RC1838D
1 Jan 25  i i    +* Re: GIMP 3.0.0-RC128rbowman
1 Jan 25  i i    i+* Re: GIMP 3.0.0-RC12D
2 Jan 25  i i    ii`- Re: GIMP 3.0.0-RC11rbowman
2 Jan 25  i i    i+- Re: GIMP 3.0.0-RC11Lawrence D'Oliveiro
2 Jan 25  i i    i+* Re: GIMP 3.0.0-RC123The Natural Philosopher
2 Jan 25  i i    ii`* Re: GIMP 3.0.0-RC122D
3 Jan 25  i i    ii `* Re: GIMP 3.0.0-RC121186282@ud0s4.net
3 Jan 25  i i    ii  +- Re: GIMP 3.0.0-RC11rbowman
3 Jan 25  i i    ii  +* Re: GIMP 3.0.0-RC12Carlos E.R.
4 Jan 25  i i    ii  i`- Re: GIMP 3.0.0-RC11Lawrence D'Oliveiro
3 Jan 25  i i    ii  `* Re: GIMP 3.0.0-RC117D
3 Jan 25  i i    ii   `* Re: GIMP 3.0.0-RC116John Ames
4 Jan 25  i i    ii    +* Re: GIMP 3.0.0-RC16D
4 Jan 25  i i    ii    i`* Re: GIMP 3.0.0-RC15rbowman
4 Jan 25  i i    ii    i +- Re: GIMP 3.0.0-RC11D
5 Jan 25  i i    ii    i `* Re: GIMP 3.0.0-RC13Physfitfreak
5 Jan 25  i i    ii    i  `* Re: GIMP 3.0.0-RC12The Natural Philosopher
7 Jan 25  i i    ii    i   `- Re: GIMP 3.0.0-RC11186282@ud0s4.net
4 Jan 25  i i    ii    +* Re: GIMP 3.0.0-RC17D
4 Jan 25  i i    ii    i+* Re: GIMP 3.0.0-RC12The Natural Philosopher
4 Jan 25  i i    ii    ii`- Re: GIMP 3.0.0-RC11D
4 Jan 25  i i    ii    i`* Re: GIMP 3.0.0-RC14rbowman
4 Jan 25  i i    ii    i `* Re: GIMP 3.0.0-RC13D
5 Jan 25  i i    ii    i  `* Re: GIMP 3.0.0-RC12rbowman
5 Jan 25  i i    ii    i   `- Re: GIMP 3.0.0-RC11D
4 Jan 25  i i    ii    +- Re: GIMP 3.0.0-RC11The Natural Philosopher
4 Jan 25  i i    ii    `- Re: GIMP 3.0.0-RC11rbowman
2 Jan 25  i i    i`- Re: GIMP 3.0.0-RC11D
1 Jan 25  i i    +- Re: GIMP 3.0.0-RC11Lawrence D'Oliveiro
1 Jan 25  i i    +* Re: GIMP 3.0.0-RC1807D
2 Jan 25  i i    i`* Re: GIMP 3.0.0-RC1806rbowman
2 Jan 25  i i    i `* Re: GIMP 3.0.0-RC1805D
2 Jan 25  i i    i  `* Re: GIMP 3.0.0-RC1804rbowman
3 Jan 25  i i    i   +* Re: GIMP 3.0.0-RC1743Lars Poulsen
3 Jan 25  i i    i   i+- Re: GIMP 3.0.0-RC11rbowman
3 Jan 25  i i    i   i`* Re: GIMP 3.0.0-RC1741D
3 Jan 25  i i    i   +* Re: GIMP 3.0.0-RC14D
3 Jan 25  i i    i   `* Re: GIMP 3.0.0-RC156The Natural Philosopher
2 Jan 25  i i    `- Re: GIMP 3.0.0-RC11John Ames
29 Dec 24  i `* Re: GIMP 3.0.0-RC1153-hh
27 Dec 24  +- Re: GIMP 3.0.0-RC11Chris Ahlstrom
27 Dec 24  `* Re: GIMP 3.0.0-RC163Carlos E.R.

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal