[phobos] next release

Walter Bright walter at digitalmars.com
Thu Sep 16 19:38:56 PDT 2010



Sean Kelly wrote:
>
> There are a bunch of routines in druntime that could really use a structured timespan representation (Boost actually even uses a full SystemTime class for most of these) and I'm trying to work out the best way to do this.  In Tango, the decision was to have the routines all accept a long value that is the same resolution as the tick count from TimeSpan, which is why everything currently works as it does.  I've always hated this and would love to do something more structured, but complications arise from possible redundancy or incompatibility with std.time.  What I've done for now is duplicate Boost's time_duration struct (as TimeDuration) into core.time, and I'm looking at using this for Thread.sleep(), etc.  Thoughts?
>
>   

I thought Tango used a floating point representation of time? (BTW, I 
think such a representation is a mistake for various reasons.)


More information about the phobos mailing list