cent/ucent

Stewart Gordon smjg_1998 at yahoo.com
Thu Jun 24 16:32:29 PDT 2010


bearophile wrote:
> This is one of the last dmd changes:
> http://www.dsource.org/projects/dmd/changeset/557
> 
> cent/ucent are probably easy to implement, their implementation can 
> require little code on 64 bit systems, and operations done among them 
> are probably fast on 64 bit systems.
<snip>

Whether it's implemented any time soon or not, I'd like the "feature" 
whereby trying to use cent/ucent is a _syntax_ error to be finally 
removed.  In the current state of things, making code forward compatible 
is a nightmare, and the later it's left the less backward compatible any 
code using cent/ucent can expect to be.

http://d.puremagic.com/issues/show_bug.cgi?id=785

Unfortunately it's now too late for libraries targeting D 1.0 to make 
use of it.  But still, would it make sense to drop the fix into D1, 
given that there is still work to do on the spec anyway?

Stewart.


More information about the Digitalmars-d mailing list