Search

April 24, 2014
General »
Suliman:

In the Rosettacode site there are around one thousand Python-D comparisons.

Bye,
bearophile
April 16, 2014
Learn »
...usage example I have written here:
http://rosettacode.org/wiki/Sokoban#Faster_Version

But that...
April 15, 2014
Learn »
Andrea Fontana:

The C exit() function is not required to honour D module destructors.


This...
April 15, 2014
Learn »
I think so. On dpaste using 2.063.2 or git version that function isn...
April 15, 2014
Learn »
Andrea Fontana:

Well, we have a little mystery here :-) Using both the latest beta of...
April 15, 2014
Learn »
http://dpaste.dzfl.pl/33cb0a05f0ff

Static destructor is called!

Application output:
spam at exit
bar...
April 15, 2014
Learn »
Andrea Fontana:

I have added it.

Bye,
bearophile
April 15, 2014
Learn »
What about:

static ~this() { "asdasdasd".writeln; }

?
April 14, 2014
Learn »
...OK, I have improved the code:
http://rosettacode.org/wiki/Program_termination#D

Bye,
bearophile
April 14, 2014
Learn »
I think notInifnite is too contrived, you would always just use `else` there. This is...
7 8 9 10 11 12 13 14 15 16 17 18
Next ›   Last »