Re: GIMP 3.0.0-RC1

Liste des GroupesRevenir à col advocacy 
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-RC1733Chris Ahlstrom
26 Dec 24 `* Re: GIMP 3.0.0-RC1732Farley Flud
26 Dec 24  +* Re: GIMP 3.0.0-RC145John Ames
26 Dec 24  i+* Re: GIMP 3.0.0-RC133Farley Flud
26 Dec 24  ii`* Re: GIMP 3.0.0-RC132John Ames
26 Dec 24  ii +* Re: GIMP 3.0.0-RC130Farley Flud
26 Dec 24  ii i+- Re: GIMP 3.0.0-RC11John Ames
27 Dec 24  ii i+* Re: GIMP 3.0.0-RC15The Natural Philosopher
27 Dec 24  ii ii`* Re: GIMP 3.0.0-RC14Farley Flud
27 Dec 24  ii ii +- Re: GIMP 3.0.0-RC11The Natural Philosopher
27 Dec 24  ii ii `* Re: GIMP 3.0.0-RC12Physfitfreak
28 Dec 24  ii ii  `- Re: GIMP 3.0.0-RC11Physfitfreak
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
26 Dec 24  i+- Re: GIMP 3.0.0-RC11Lawrence D'Oliveiro
27 Dec 24  i+* Re: GIMP 3.0.0-RC18rbowman
27 Dec 24  ii+- Re: GIMP 3.0.0-RC11RonB
27 Dec 24  ii`* Re: GIMP 3.0.0-RC16Chris Ahlstrom
27 Dec 24  ii `* Re: GIMP 3.0.0-RC15rbowman
27 Dec 24  ii  `* Re: GIMP 3.0.0-RC14Chris Ahlstrom
27 Dec 24  ii   `* Re: GIMP 3.0.0-RC13rbowman
28 Dec 24  ii    `* Re: GIMP 3.0.0-RC12Chris Ahlstrom
28 Dec 24  ii     `- Re: GIMP 3.0.0-RC11rbowman
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-RC1626Farley Flud
28 Dec 24  i`* Re: GIMP 3.0.0-RC1625186282@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-RC1428Computer Nerd Kev
29 Dec 24  i i`* Re: GIMP 3.0.0-RC1427D
30 Dec 24  i i `* Re: GIMP 3.0.0-RC1426D
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-RC1423D
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-RC1420D
1 Jan 25  i i    +* Re: GIMP 3.0.0-RC124rbowman
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-RC119The Natural Philosopher
2 Jan 25  i i    ii`* Re: GIMP 3.0.0-RC118D
3 Jan 25  i i    ii `* Re: GIMP 3.0.0-RC117186282@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-RC113D
3 Jan 25  i i    ii   `* Re: GIMP 3.0.0-RC112John Ames
4 Jan 25  i i    ii    +* Re: GIMP 3.0.0-RC15D
4 Jan 25  i i    ii    i`* Re: GIMP 3.0.0-RC14rbowman
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-RC14D
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-RC11rbowman
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-RC1393D
2 Jan 25  i i    `- Re: GIMP 3.0.0-RC11John Ames
29 Dec 24  i `* Re: GIMP 3.0.0-RC1177-hh
27 Dec 24  +- Re: GIMP 3.0.0-RC11Chris Ahlstrom
27 Dec 24  `* Re: GIMP 3.0.0-RC159Carlos E.R.

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal