Search

June 07, 2012
Phobos »
...SysTime opCmp tests

- cache DateTime to SysTime conversions
- 3000ms => 60ms


  Commit: 6b7174d3f9120abc011f65a128fafdf50c2496ce
      https://github.com...
June 07, 2012
General »
A google search reported that it was an explicit requirement of Ada to not have...
June 07, 2012
General »
Thanks for your answers.

I want a language with metaprogramming and compile-time computations.
June 06, 2012
General »
You want a sane language: use a different language, most C-derived language have insane...
June 06, 2012
General »
...such conversions is to wrap your integers in structs.

In some ways, making implicit conversions...
June 06, 2012
General »
There is no information lost. Try casting it back to int.

-- 
Dmitry Olshansky
June 06, 2012
General »
Surely structs could work?

struct safeType(T) {
  T value;
}

Define all operations that you can...
June 05, 2012
General »
A little example of the difficulties involved:
http://blog.regehr.org/archives/721

Bye,
bearophile
June 05, 2012
General »
...So D tries to _statically_ refuse value conversions that cause data loss. But for practical...
June 05, 2012
General »
I doubt that a 'feature' that's been in D and it's predecessors for...
156 157 158 159 160 161 162 163 164 165 166
Next ›   Last »