Andrei Alexandrescu wrote:
Nick Sabalausky wrote:
BCS a...@pathlink.com wrote
Reply to Nick,
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message
news:gsiqdr$1cs...@digitalmars.com...
BCS wrote:
One option would be to not throw an error if the format string uses
indexing
On Mon, 20 Apr 2009 00:09:09 -0700, Walter Bright
newshou...@digitalmars.com wrote:
This is a major revision to Phobos, including Andrei's revolutionary new
range support.
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.029.zip
Wicked awesome!
On Mon, 20 Apr 2009 09:57:55 +0200, Max Samukha
samu...@voliacable.com.removethis wrote:
On Mon, 20 Apr 2009 00:09:09 -0700, Walter Bright
newshou...@digitalmars.com wrote:
This is a major revision to Phobos, including Andrei's revolutionary new
range support.
Steve Teale wrote:
Jacob Carlborg Wrote:
Steve Teale wrote:
Michel Fortin Wrote:
On 2009-04-19 15:19:24 -0400, Steve Teale steve.te...@britseyeview.com said:
This is incomplete at this point, but there's a working example. I have
to break off now and do some building work. You can find
Walter Bright wrote:
This is a major revision to Phobos, including Andrei's revolutionary new
range support.
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.029.zip
This is looking very nice! I want to switch from D1 to D2, but...
I don't want to sound
Lars T. Kyllingstad wrote:
Walter Bright wrote:
This is a major revision to Phobos, including Andrei's revolutionary
new range support.
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.029.zip
This is looking very nice! I want to switch from D1 to D2,
Daniel Keep wrote:
Lars T. Kyllingstad wrote:
Walter Bright wrote:
This is a major revision to Phobos, including Andrei's revolutionary
new range support.
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.029.zip
This is looking very nice! I want to switch
Daniel Keep wrote:
...
-Lars
The best bet for 64-bit D executables at this point is probably LDC;
dunno what the current state is, though.
-- Daniel
if you grep the dmd backend sources for x86_64, you'll get some results.
Don't know what that means though, the source looks like magic
Lars T. Kyllingstad wrote:
Walter Bright wrote:
This is a major revision to Phobos, including Andrei's revolutionary
new range support.
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.029.zip
This is looking very nice! I want to switch from D1 to D2,
Max Samukha wrote:
On Mon, 20 Apr 2009 09:57:55 +0200, Max Samukha
samu...@voliacable.com.removethis wrote:
On Mon, 20 Apr 2009 00:09:09 -0700, Walter Bright
newshou...@digitalmars.com wrote:
This is a major revision to Phobos, including Andrei's revolutionary new
range support.
Andrei Alexandrescu wrote:
Lars T. Kyllingstad wrote:
Walter Bright wrote:
This is a major revision to Phobos, including Andrei's revolutionary
new range support.
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.029.zip
This is looking very nice! I want to
Georg Wrede, el 21 de abril a las 09:25 me escribiste:
What's sad, http://en.wikipedia.org/wiki/Standard_Template_Library
really sucks at introducing the STL on a conceptual level. Even worse, that
is
actually the only thing it *should* do. Everyting else is optional.
You should improve it
Don:
From 2.208:
2804 Impure nested functions should be legal inside pure functions
Very good. Now that little example works:
import std.c.stdio: printf;
import std.conv: to;
pure int double_sqr(int x) {
int y, z;
void do_sqr() { y *= y; }
y = x;
do_sqr();
z += y;
y =
Andrei Alexandrescu, el 21 de abril a las 07:38 me escribiste:
Lars T. Kyllingstad wrote:
Walter Bright wrote:
This is a major revision to Phobos, including Andrei's revolutionary new
range
support.
http://www.digitalmars.com/d/2.0/changelog.html
I have also tested the semantics of nested function purity:
import std.c.stdio: printf;
import std.conv: to;
pure int double_sqr(int x) {
pure int sqr(int y) { return y * y; }
return sqr(x) + sqr(x);
}
void main(string[] args) {
int x = args.length == 2 ? to!(int)(args[1]) : 10;
bearophile wrote:
I have tried the following code:
import std.c.stdio: printf;
import std.conv: to;
nothrow pure int double_sqr(int x) { // line 4
int y, z;
nothrow void do_sqr() { y *= y; }
y = x;
do_sqr();
z += y;
y = x;
do_sqr();
z += y;
return z;
}
void
Don:
Yes. Actually, marking a nested function as pure doesn't make much sense.
It's entirely equivalent to moving it outside the function; [...]
I'm not sure that nested pure member functions should be legal.
It's not fully equivalent to moving it out of the function because once you
pull it
I'm off to speak at it!
http://accu.org/index.php/conferences/accu_conference_2009/accu2009_speakers
Lutger wrote:
what the hell...this code can't be human.
I was replaced by Colossus years ago.
bearophile wrote:
Don:
Yes. Actually, marking a nested function as pure doesn't make much sense.
It's entirely equivalent to moving it outside the function; [...]
I'm not sure that nested pure member functions should be legal.
It's not fully equivalent to moving it out of the function because
Walter Bright wrote:
Stewart Gordon wrote:
Walter, how often do you update your working copy from the SVN?
Obviously less than once every 2 releases.
As far as I know, it is current. Everything got checked in.
So how has the fix for
http://d.puremagic.com/issues/show_bug.cgi?id=2580
(and
Walter Bright wrote:
Lutger wrote:
what the hell...this code can't be human.
I was replaced by Colossus years ago.
Michael A. Jackson wouldn't approve 1175 gotos in 113 files.
I didn't mind so much when bigint was missing from the preview, but I hoped it
would be in the actual release! :0
Paul
On 2009-04-21 11:18:39 -0400, Don nos...@nospam.com said:
Yes. Actually, marking a nested function as pure doesn't make much sense.
It's entirely equivalent to moving it outside the function; a nested
pure function shouldn't be able to access any members of the enclosing
function, otherwise
24 matches
Mail list logo