John Reimer wrote:
Hello Derek,
Just thinking out aloud ...
If two modules import each other and this can be 'fixed' by instead
having both modules as a single module, what is stopping the compiler
from just pretending that they are a single module for compilation
purposes?
This does assume
John Reimer wrote:
Hello Lars,
bearophile wrote:
Walter Bright:
Excess isn't the problem, I want to see if import cycles is.
Generally all the modules in my dlibs import each other. This is
nearly unavoidable, if a module contains string functions, and
another one contains math
John Reimer:
Since other languages
don't necessarily have the same module/package concept (except perhaps Java
is the closest),
Despite few (bad) holes that need to be filled still, the closest is probably
the Python module system.
Bye,
bearophile
Hello bearophile,
John Reimer:
Since other languages don't necessarily have the same module/package
concept (except perhaps Java is the closest),
Despite few (bad) holes that need to be filled still, the closest is
probably the Python module system.
Bye,
bearophile
You're probably
Nick Sabalausky wrote:
John Reimerterminal.n...@gmail.com wrote in message
news:28b70f8cfcfe8cb30c0a0e2a...@news.digitalmars.com...
Hello Sean,
bearophile wrote:
Walter Bright:
Excess isn't the problem, I want to see if import cycles is.
Generally all the modules in my dlibs import
John Reimer terminal.n...@gmail.com wrote in message
news:28b70f8cfcfe8cb30c0a0e2a...@news.digitalmars.com...
Hello Sean,
bearophile wrote:
Walter Bright:
Excess isn't the problem, I want to see if import cycles is.
Generally all the modules in my dlibs import each other. This is
nearly
Hello Nick,
John Reimer terminal.n...@gmail.com wrote in message
news:28b70f8cfcfe8cb30c0a0e2a...@news.digitalmars.com...
Hello Sean,
bearophile wrote:
Walter Bright:
Excess isn't the problem, I want to see if import cycles is.
Generally all the modules in my dlibs import each other.
Yigal Chripun Wrote:
Nick Sabalausky wrote:
This might be a naive idea, and wouldn't solve the problems with cyclic
dependancies in the general case: But regarding the static initializaton
issue (which I've come up against myself), what if static initializers
allowed some sort of clause
Mon, 22 Dec 2008 00:07:42 +0200, Yigal Chripun wrote:
Nick Sabalausky wrote:
John Reimerterminal.n...@gmail.com wrote in message
news:28b70f8cfcfe8cb30c0a0e2a...@news.digitalmars.com...
Hello Sean,
bearophile wrote:
Walter Bright:
Excess isn't the problem, I want to see if import
Is it possible to close the bugzilla bugs that were fixed?
More generally, bug owners get e-mails when bugs are closed, but don't receive
e-mails when new releases are made. Here I was sitting around waiting for one
of my bugs to get fixed, and here it's been fixed a week and a half :(
Walter
Walter Bright schrieb:
Sönke Ludwig wrote:
In my project compilation takes now several minutes for some files
which compiled in about a second with 2.021. I stopped the compilation
of the whole project after about 2 hours (took 2 min at most on 2.021).
I'll try to track this down when I get
Yigal Chripun escribió:
Denis Koroskin wrote:
On Sat, 20 Dec 2008 20:41:23 +0300, Yigal Chripun yigal...@gmail.com
wrote:
Denis Koroskin wrote:
On Mon, 15 Dec 2008 10:58:23 +0300, Bill Baxter wbax...@gmail.com
wrote:
For me, V1.038 compiles my code but takes a really really really long
Ary Borenszweig wrote:
Lars Ivar Igesund escribió:
Yigal Chripun wrote:
Denis Koroskin wrote:
On Sat, 20 Dec 2008 20:41:23 +0300, Yigal Chripun yigal...@gmail.com
wrote:
Denis Koroskin wrote:
On Mon, 15 Dec 2008 10:58:23 +0300, Bill Baxter wbax...@gmail.com
wrote:
For me, V1.038
Hello Lars,
bearophile wrote:
Walter Bright:
Excess isn't the problem, I want to see if import cycles is.
Generally all the modules in my dlibs import each other. This is
nearly unavoidable, if a module contains string functions, and
another one contains math stuff, the string module will
On Fri, Dec 19, 2008 at 9:12 PM, Denis Koroskin 2kor...@gmail.com wrote:
On Fri, 19 Dec 2008 14:51:11 +0300, John C johnch_a...@hotmail.com wrote:
Walter Bright Wrote:
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.038.zip
On Wed, 17 Dec 2008 00:39:00 +0100, Robert Jacques sandf...@jhu.edu
wrote:
On Tue, 16 Dec 2008 12:28:43 -0800, Simen Kjaeraas
simen.kja...@gmail.com wrote:
So this does not seem pure to you?
int myPureFunction(int x) {
return x;
}
Short answer: That's a function, not a
On Mon, 15 Dec 2008 17:48:21 -0500, mastrost titi.mas...@free.fr wrote:
int delegate() getPureFunction(int x){
int bar(){
return x;
}
return bar;
}
int delegate() getPureFunction(int x){
int bar(){
return x++; // no longer pure
}
return bar;
}
In
On Tue, 16 Dec 2008 18:58:47 +0100, Robert Jacques sandf...@jhu.edu
wrote:
On Mon, 15 Dec 2008 17:48:21 -0500, mastrost titi.mas...@free.fr wrote:
In this example, myPureFunction looks like a pure function, does it?
No it doesn't
So this does not seem pure to you?
int
On Tue, 16 Dec 2008 12:28:43 -0800, Simen Kjaeraas
simen.kja...@gmail.com wrote:
On Tue, 16 Dec 2008 18:58:47 +0100, Robert Jacques sandf...@jhu.edu
wrote:
On Mon, 15 Dec 2008 17:48:21 -0500, mastrost titi.mas...@free.fr
wrote:
In this example, myPureFunction looks like a pure
For me, V1.038 compiles my code but takes a really really really long
time to do so.
It now takes 1 min 20 secs for a full build, when it used to compile
in 13 seconds.
Forget the 60% slowdown from LDC -- this is 515% slower!
(building with DSSS and tango)
--bb
On Mon, Dec 15, 2008 at 10:14
Walter Bright:
Are you using a lot of templates and recursive imports?
Note: the mysterious new bug I have found in V.1.038 may have some relation
with recursive imports (removing them that bug more or less vanishes).
Bye,
bearophile
Sönke Ludwig wrote:
In my project compilation takes now several minutes for some files which
compiled in about a second with 2.021. I stopped the compilation of the
whole project after about 2 hours (took 2 min at most on 2.021).
I'll try to track this down when I get the time, but i doubt
On Sun, 14 Dec 2008 20:10:26 +0900, Bill Baxter wrote:
Version D 1.038 Dec 11, 2008
New/Changed Features
* Added Partial IFTI Bugzilla 493
Hooray! Now I can finish porting std.algorithm and friends to D1!
So, we'll see a new std2? :^) (I for one would be very happy)
On Mon, Dec 15, 2008 at 6:20 AM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
Bill Baxter wrote:
On Sun, Dec 14, 2008 at 8:40 PM, Daniel de Kok dan...@nowhere.nospam
wrote:
On Sun, 14 Dec 2008 20:10:26 +0900, Bill Baxter wrote:
Version D 1.038 Dec 11, 2008
New/Changed
On Mon, Dec 15, 2008 at 7:43 AM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
Bill Baxter wrote:
On Mon, Dec 15, 2008 at 6:20 AM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
Bill Baxter wrote:
On Sun, Dec 14, 2008 at 8:40 PM, Daniel de Kok dan...@nowhere.nospam
This time the compilation of my dlibs (using V.1.038) has gone a little less
smoothly.
With V.1.037 this line compiles fine, while statically asserts in V.1.038:
static assert(!is(typeof( xkeys([12:ab, 5:ba]) )));
I have tried to track down the problem, but after going into a rat's nest for
26 matches
Mail list logo