Sujet : Re: New VSI post on Youtube
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 18. Aug 2024, 01:12:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9re8o$23201$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 8/16/2024 10:44 PM, Lawrence D'Oliveiro wrote:
On Fri, 16 Aug 2024 20:29:40 -0500, Craig A. Berry wrote:
On 8/16/24 8:06 PM, Lawrence D'Oliveiro wrote:
On Fri, 16 Aug 2024 12:11:16 -0400, Stephen Hoffman wrote:
Yes, that means dragging some apps forward. And dragging systen APIs
forward.
>
Reinventing POSIX?
>
POSIX is just an API.
It was an API that was careful to define higher-level types like “time_t”
and “uintptr_t” and “size_t”, precisely because the *nix systems were at
the forefront of the 64-bit transition and they had to be prepared.
Those implementation specific types was sort of best try back
in the 90's.
The approach has been mostly abandoned in newer languages. Today
standard defined types are usually preferred. And does an API need
a new type, then it means a new function/method/property.
Too many problems with those implementation specific types. They
often work great for small/medium size but run into problems with
big/huge stuff. The combination of:
- a need to convert between those implementation specific types
and something of well defined type (persistence, network, mix
other languages or something else)
- the fact that C typedefs are not real types but just type aliases
can end up in serious headache.
Arne