April 24, 2014 General » Re: python vs d | |||
|---|---|---|---|
| |||
Suliman: In the Rosettacode site there are around one thousand Python-D comparisons. Bye, bearophile | |||
April 16, 2014 Learn » Re: Dynamically Sized Structs | |||
|---|---|---|---|
| |||
...usage example I have written here: http://rosettacode.org/wiki/Sokoban#Faster_Version But that... | |||
April 15, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
Andrea Fontana: The C exit() function is not required to honour D module destructors. This... | |||
April 15, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
I think so. On dpaste using 2.063.2 or git version that function isn... | |||
April 15, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
Andrea Fontana: Well, we have a little mystery here :-) Using both the latest beta of... | |||
April 15, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
http://dpaste.dzfl.pl/33cb0a05f0ff Static destructor is called! Application output: spam at exit bar... | |||
April 15, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
Andrea Fontana: I have added it. Bye, bearophile | |||
April 15, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
What about:
static ~this() { "asdasdasd".writeln; }
? | |||
April 14, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
...OK, I have improved the code: http://rosettacode.org/wiki/Program_termination#D Bye, bearophile | |||
April 14, 2014 Learn » Re: Rosettacode: program termination | |||
|---|---|---|---|
| |||
I think notInifnite is too contrived, you would always just use `else` there. This is... | |||
Copyright © 1999-2021 by the D Language Foundation