home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,082 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Dan Cross   
   Re: extending MySQL on VMS   
   24 Aug 25 19:52:52   
   
   From: arne@vajhoej.dk   
      
   On 8/24/2025 7:27 PM, Dan Cross wrote:   
   > In article <108dlq4$2fi6h$4@dont-email.me>,   
   > Arne Vajhøj   wrote:   
   >> On 8/19/2025 1:26 PM, Dan Cross wrote:   
   >>> In article <10823ei$3pb8v$3@dont-email.me>,   
   >>> Arne Vajhøj   wrote:   
   >>>> Whether we follow tradition and call them integer and cardinal   
   >>>> or more modern style and call them int and uint is less important.   
   >>>   
   >>> I would argue that, at this point, there's little need for a   
   >>> generic "int" type anymore, and that types representing integers   
   >>> as understood by the machine should explicitly include both   
   >>> signedness and width.  An exception may be something like,   
   >>> `size_t`, which is platform-dependent, but when transferred   
   >>> externally should be given an explicit size.  A lot of the   
   >>> guesswork and folklore that goes into understanding the   
   >>> semantics of those things just disappears when you're explicit.   
   >>   
   >> The integer types should have well defined width.   
   >>   
   >> And they could also be called int32 and uint32.   
   >>   
   >> That seems to be in fashion in low level languages   
   >> competing with C.   
   >>   
   >> Many higher level languages just define that int is 32 bit,   
   >> but don't show it in the name.   
   >   
   > If by "many higher level languages" you mean languages in the   
   > JVM and CLR ecosystem, then sure, I guess so.  But it's not   
   > universal, and I don't see how it's an improvement.   
      
   That are two huge group of languages with a pretty big   
   market share in business applications.   
      
   Delphi provide both flavors. shortint/smallint/integer   
   and int8/int16/int32, byte/word/cardinal and   
   uint8/uint16/uint32. I believe the first are the most   
   widely used.   
      
   (64 bit is just int64 and uint64, because somehow they   
   fucked up longint and made it 32 bit on 32 bit and 64 bit   
   Windows but 64 bit on 64 bit *nix)   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca