Do we really need const?

Bruce Adams tortoise_74 at yeah.who.co.uk
Tue Sep 18 12:17:06 PDT 2007


Bill Baxter Wrote:

[snip]
> 
> There would still be a bit of a compiler compatibility issue though. 
> For a given platform Compiler vendors A and B would need to agree on the 
> rules for 'in' parameters or the libs they generate would be 
> incompatible.  If we want D to be a language with a unified ABI at 
> least.  That suggests that the rules would need to be part of the spec. 
>   Heck it may be good enough to just pick a max parameter size and stick 
> with it for all platforms.  Just like D picks a size for 'float' and 
> sticks with it for all platforms, whether it's the most efficient for 
> that platform or not.
> 
> --bb

That's not the same at all. There are internationally approved standards for floating point types. These standards are also implemented in hardware more often that not.

Bruce.




More information about the Digitalmars-d mailing list