On Thursday, March 3, 2022 at 3:54:25 PM UTC+1 philip...@iee.email wrote:

> > Am I correct in that the work to make mainline Git use size_t where 
> applicable 
> is ongoing? 
>
> It's currently a little stalled, because it's been hard to partition the 
> problem into small chunks that fit everyone's expectations about what 
> should be in or out for tidying up consequences (e.g. large call chains). 
>
> It's not really clear if "size_t" is considered a nice data type, along 
> with `ssize_t` to be replacing `ulong` and `long`, as they tend to make the 
> code feel "ugly". 
>

Consider porting git to Delphi =D

Anyway here is a tip from the Delphi world, in Delphi there is this type 
called:

NativeInt

and

NativeUInt

These two types auto-adjust to the maximum/natural integer size of the 
system.

So if it's 32 bit NativeInt would be 4 bytes.
So if it's 64 bit NativeInt would be 8 bytes

I think this is a much nicer description than size_t or ssize_t LOL.

Bye,
  Skybuck =D

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/d837f25f-61b9-454a-a6ee-f0694da73575n%40googlegroups.com.

Reply via email to