home bbs files messages ]

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

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

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

   Message 116,283 of 117,927   
   Spiros Bousbouras to Anton Ertl   
   Re: push for memory safe languages -- im   
   09 Mar 24 12:46:07   
   
   From: spibou@gmail.com   
      
   On Sat, 09 Mar 2024 11:30:56 GMT   
   anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote:   
   > Paul Rubin  writes:   
   > >#1 on TIOBE is   
   > >Python, which uses arbitrary precision as the native integer type.  That   
   > >slows arithmetic down but it mostly eliminates the overflow problem.   
   >   
   > If implemented well, the slowdown is small in the common case (small   
   > integers): E.g., on AMD64 an add, sub, or imul instruction just needs   
   > to be followed by a jo which in the usual case is not taken and very   
   > predictable.   
      
   Don't you also need to first check that both arguments are small   
   integers ?   
      
   --- 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