On Thursday, 14 July 2022 at 13:00:24 UTC, ryuukk_ wrote:
On Thursday, 14 July 2022 at 05:30:58 UTC, Siarhei Siamashka
wrote:
On Tuesday, 12 July 2022 at 13:23:36 UTC, ryuukk_ wrote:
I wonder if DMD/LDC/GDC have built in tools to profile and
track performance
Linux has a decent system wide pr
On Thursday, 14 July 2022 at 05:30:58 UTC, Siarhei Siamashka
wrote:
On Tuesday, 12 July 2022 at 13:23:36 UTC, ryuukk_ wrote:
I wonder if DMD/LDC/GDC have built in tools to profile and
track performance
Linux has a decent system wide profiler:
https://perf.wiki.kernel.org/index.php/Main_Page
A
On Monday, 11 July 2022 at 18:15:16 UTC, Ivan Kazmenko wrote:
Hi.
I'm looking at the compiler output of DMD (-O -release), LDC
(-O -release), and GDC (-O3) for a simple array operation:
```
void add1 (int [] a)
{
foreach (i; 0..a.length)
a[i] += 1;
}
```
Here are the outputs: htt
On Tuesday, 12 July 2022 at 13:23:36 UTC, ryuukk_ wrote:
I wonder if DMD/LDC/GDC have built in tools to profile and
track performance
Linux has a decent system wide profiler:
https://perf.wiki.kernel.org/index.php/Main_Page
And there are other useful tools, such as callgrind. To take
advantag
On Tuesday, 12 July 2022 at 12:47:26 UTC, bauss wrote:
Of course if you're alone it doesn't matter, but if it's a
larger project that will have multiple maintainers then it will
never work and will tarnish the project entirely.
That's true, i work solo on my project so it doesn't bother me
It
On Monday, 11 July 2022 at 21:46:10 UTC, IGotD- wrote:
Just depreciate the the DMD backend, it's just not up to the
task anymore.
Just deprecate LDC and GDC. They compile slowly and are unlikely
to ever deliver fast compile times, due to their design.
Some people say they like it because it
On Tuesday, 12 July 2022 at 10:32:36 UTC, ryuukk_ wrote:
How do i achieve fast compile speed (results above were on
windows, on linux i get much faster results):
I maintain healthy project management:
This
- Imports of std: i simply don't, and i copy/paste functions i
need
- I avoid du
How do i achieve fast compile speed (results above were on
windows, on linux i get much faster results):
I maintain healthy project management:
- Templates ONLY when necessary and when the cost is worth the
time saved in the long term
- this is why i try to lobby for builtin tagged union ins
On Tuesday, 12 July 2022 at 09:18:02 UTC, Siarhei Siamashka wrote:
On Tuesday, 12 July 2022 at 07:58:44 UTC, bauss wrote:
You don't think this difference is huge? DMD is over 2x as
fast.
I think that DMD having more than 10x faster compilation speed
in ryuukk_'s project shows that there is li
On Tuesday, 12 July 2022 at 07:58:44 UTC, bauss wrote:
You don't think this difference is huge? DMD is over 2x as fast.
I think that DMD having more than 10x faster compilation speed in
ryuukk_'s project shows that there is likely either a
misconfiguration in DUB build setup or some other low
On Tuesday, 12 July 2022 at 07:06:37 UTC, Siarhei Siamashka wrote:
```
real0m34.371s
user0m32.883s
sys 0m1.488s
```
```
real0m14.078s
user0m12.941s
sys 0m1.129s
```
Is there an open source DUB package, which can be used to
reproduce a huge build time difference betwe
On Monday, 11 July 2022 at 22:16:05 UTC, ryuukk_ wrote:
LDC clean full rebuild
```
$ time dub build -f --compiler=ldc2
Performing "debug" build using ldc2 for x86_64.
game ~master: building configuration "desktop"...
Linking...
real0m18.033s
user0m0.000s
sys 0m0.015s
```
DMD clean f
On Monday, 11 July 2022 at 22:16:05 UTC, ryuukk_ wrote:
I use D because DMD compiles my huge project in ~1 second (full
clean rebuild)
It is a competitive advantage that many languages doesn't have
The other programming languages typically use an interpreter for
quick iterations and rapid de
On Monday, 11 July 2022 at 21:46:10 UTC, IGotD- wrote:
On Monday, 11 July 2022 at 18:19:41 UTC, max haughton wrote:
The dmd backend is ancient, it isn't really capable of these
kinds of loop optimizations.
I've said it several times before. Just depreciate the the DMD
backend, it's just not
On Monday, 11 July 2022 at 18:19:41 UTC, max haughton wrote:
The dmd backend is ancient, it isn't really capable of these
kinds of loop optimizations.
I've said it several times before. Just depreciate the the DMD
backend, it's just not up to the task anymore. This is not
criticism against
On Monday, 11 July 2022 at 18:15:16 UTC, Ivan Kazmenko wrote:
Hi.
I'm looking at the compiler output of DMD (-O -release), LDC
(-O -release), and GDC (-O3) for a simple array operation:
```
void add1 (int [] a)
{
foreach (i; 0..a.length)
a[i] += 1;
}
```
Here are the outputs: htt
On Monday, 11 July 2022 at 18:15:16 UTC, Ivan Kazmenko wrote:
Hi.
I'm looking at the compiler output of DMD (-O -release), LDC
(-O -release), and GDC (-O3) for a simple array operation:
```
void add1 (int [] a)
{
foreach (i; 0..a.length)
a[i] += 1;
}
```
Here are the outputs: htt
Hi.
I'm looking at the compiler output of DMD (-O -release), LDC (-O
-release), and GDC (-O3) for a simple array operation:
```
void add1 (int [] a)
{
foreach (i; 0..a.length)
a[i] += 1;
}
```
Here are the outputs: https://godbolt.org/z/GcznbjEaf
From what I gather at the view li
18 matches
Mail list logo