[Haskell-cafe] Int is broken [Was: Different answers on different machines]

Tommy Thorn tt1729 at yahoo.com
Mon Jun 3 09:07:32 CEST 2013


On Jun 2, 2013, at 23:58 , Carter Schonwald <carter.schonwald at gmail.com> wrote:

> Indeed, as Dan says, theres the safeint library and the Integer type. 
> 
> If the Int type had either of these semantics by default, many many performance sensitive libraries would suddenly have substantially less compelling performance.  Every single operation that was branchless before would have a branch *every* operation..... this would be BAD.  

I'd like to see actual data, measurements of actual wall-time impact on real code on modern hardware,
not assumptions.

Tommy




More information about the Haskell-Cafe mailing list