Re: Debugging D code with GDB

2022-01-05 Thread Luís Ferreira via Digitalmars-d-learn
On Tue, 2021-11-30 at 09:01 +, Iain Buclaw via Digitalmars-d-learn wrote: > On Monday, 29 November 2021 at 14:48:21 UTC, Luís Ferreira wrote: > > On Sun, 2021-11-28 at 21:59 +, Iain Buclaw via > > Digitalmars-d-learn wrote: > > > > > > DMD doesn't emit this information. GDB can't work

Re: How to loop through characters of a string in D language?

2021-12-10 Thread Luís Ferreira via Digitalmars-d-learn
Yes it will. You can use lazy templates instead, like splitter and joiner, which splits and joins lazily, respectively. LDC can optimize those templates fairly well and avoid too much lazy calls and pretty much constructs the logic equivalent to for loop. On 10 December 2021 11:06:21 WET,

Re: Debugging D code with GDB

2021-11-29 Thread Luís Ferreira via Digitalmars-d-learn
On Sun, 2021-11-28 at 21:59 +, Iain Buclaw via Digitalmars-d-learn wrote: > On Saturday, 27 November 2021 at 14:17:11 UTC, Eduard Staniloiu > wrote: > > Hello, > > > > I'm trying to use `gdb` to debug D binaries, but I'm having > > trouble accessing the methods of a struct or class. It

Re: what i don't like about dub

2021-11-24 Thread Luís Ferreira via Digitalmars-d-learn
On Tue, 2021-11-23 at 21:00 +, Imperatorn via Digitalmars-d-learn wrote: > On Tuesday, 23 November 2021 at 18:00:16 UTC, Luís Ferreira wrote: > > On Tue, 2021-11-23 at 17:36 +, Imperatorn via > > Digitalmars-d-learn wrote: > > > On Tuesday, 23 November 2021 at 14:01:15 UTC, Adam D Ruppe

Re: what i don't like about dub

2021-11-23 Thread Luís Ferreira via Digitalmars-d-learn
On Tue, 2021-11-23 at 17:36 +, Imperatorn via Digitalmars-d-learn wrote: > On Tuesday, 23 November 2021 at 14:01:15 UTC, Adam D Ruppe wrote: > > On Tuesday, 23 November 2021 at 13:49:36 UTC, Imperatorn wrote: > > > How do you propose dub would do that > > > > By asking the system package

Re: what i don't like about dub

2021-11-23 Thread Luís Ferreira via Digitalmars-d-learn
On Tue, 2021-11-23 at 01:19 +, Alain De Vos via Digitalmars-d-learn wrote: > What i don't like about dub is that is does not check which > software is installed on the host. > Currentlu tck86 is installed on the host including header files & > shared libraries. > But dub says let me just