Why does D not have generics?

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Sat Jan 16 05:39:02 UTC 2021


On Saturday, 16 January 2021 at 00:03:00 UTC, Bruce Carneal wrote:
> You can transform to a canonical relop form wherever you'd 
> like, of course, but mapping on entry and unmapping on 
> retrieval or exit from a collection library would, as you might 
> imagine, lower conversion overhead for the second and 
> subsequent relops, reduce bloat, and enable kernel fusion.

The problem is little endian. Ascii strings will have to be 
reversed. The order of two 32 bit ints have to be reversed. These 
issues are not present for big endian...


More information about the Digitalmars-d mailing list