On Wed, Jul 04, 2018 at 04:17:22PM -0400, Nick Sabalausky (Abscissa) via
Digitalmars-d wrote:
[...]
> Long compilation times are almost always the fault of Dub. Dub is
> pretty well-known for taking DMD's near-instant compile times and
> bloating them out to the ridiculous (by D standards)
On 06/27/2018 12:00 PM, Mario Silva wrote:
Hello,
Our code base has been growing steadily and it's currently at a point
where my 16GB machine just freezes when we're compiling our code. This
happens because DMD just consumes all my memory for a while.
Also, it's taking a long time to
On 2018-06-27 18:00, Mario Silva wrote:
Hello,
Our code base has been growing steadily and it's currently at a point
where my 16GB machine just freezes when we're compiling our code. This
happens because DMD just consumes all my memory for a while.
Also, it's taking a long time to compile
On Wednesday, 27 June 2018 at 16:00:37 UTC, Mario Silva wrote:
Less than an year ago our project was taking around 17 seconds
to compile - no libs requiring compilation - and maybe around
50 seconds for full compilation, and it now takes around 50
seconds for an incremental compilations and
On 28/06/18 01:46, Steven Schveighoffer wrote:
This has been a thorn in many sides for a long time. I remember
Weka.io's Liran talking about how they required an INSANE amount of
time/memory to build their system in dconf 2015 maybe? But things have
gotten a bit better since then. I think at
On Thursday, 28 June 2018 at 16:24:07 UTC, H. S. Teoh wrote:
I continue to use SCons for my D projects. For dub
dependencies, I just create a fake empty dub project with
declared dependencies and run that separately for refreshing
dependencies, but the actual compiling and linking is handled
On Thursday, 28 June 2018 at 16:24:07 UTC, H. S. Teoh wrote:
On Thu, Jun 28, 2018 at 04:11:57PM +, crimaniak via
Digitalmars-d wrote: [...]
The problem is aggravated by the fact that DUB compiles all
the sources in one DMD launch.
Doesn't dub have an option to compile packages (i.e.
On Thu, Jun 28, 2018 at 06:13:45PM +, Eugene Wissner via Digitalmars-d
wrote:
> On Thursday, 28 June 2018 at 16:24:07 UTC, H. S. Teoh wrote:
> > On Thu, Jun 28, 2018 at 04:11:57PM +, crimaniak via Digitalmars-d
> > wrote: [...]
> > > The problem is aggravated by the fact that DUB compiles
On Thursday, 28 June 2018 at 16:24:07 UTC, H. S. Teoh wrote:
On Thu, Jun 28, 2018 at 04:11:57PM +, crimaniak via
Digitalmars-d wrote: [...]
The problem is aggravated by the fact that DUB compiles all
the sources in one DMD launch.
Doesn't dub have an option to compile packages (i.e.
On Thu, Jun 28, 2018 at 04:11:57PM +, crimaniak via Digitalmars-d wrote:
[...]
> The problem is aggravated by the fact that DUB compiles all the
> sources in one DMD launch.
Doesn't dub have an option to compile packages (i.e. subdirs)
separately? Or does that only apply to dub packages, not
On Wednesday, 27 June 2018 at 16:00:37 UTC, Mario Silva wrote:
Hello,
Our code base has been growing steadily and it's currently at a
point where my 16GB machine just freezes when we're compiling
our code. This happens because DMD just consumes all my memory
for a while.
Also, it's taking
On Wednesday, 27 June 2018 at 16:00:37 UTC, Mario Silva wrote:
Any tips on how to code in a way that minimizes both
compilation times and memory consumption when compiling?
Here are my tips. I'd love to hear more from others.
* Try to reduce imports. E.g., say you use a lot of stuff from
On 6/27/18 12:00 PM, Mario Silva wrote:
Hello,
Our code base has been growing steadily and it's currently at a point
where my 16GB machine just freezes when we're compiling our code. This
happens because DMD just consumes all my memory for a while.
That is the path of D's compiler
On Wed, Jun 27, 2018 at 04:00:37PM +, Mario Silva via Digitalmars-d wrote:
> Hello,
>
> Our code base has been growing steadily and it's currently at a point
> where my 16GB machine just freezes when we're compiling our code. This
> happens because DMD just consumes all my memory for a while.
Hello,
Our code base has been growing steadily and it's currently at a
point where my 16GB machine just freezes when we're compiling our
code. This happens because DMD just consumes all my memory for a
while.
Also, it's taking a long time to compile it. Less than an year
ago our project
15 matches
Mail list logo