April 23
On Tuesday, 23 April 2024 at 14:56:50 UTC, Marconi wrote:

> If D create some new way to make manual memory management easily, in such a way that the lovers of GC would not be so furious... the language could reach almost the perfection.
>
> Default GC was the biggest D mistake.

As long as you're willing to ignore all the evidence, I agree. The GC has never prevented anyone from doing good things without the GC. Look at the excellent work on Mir, for instance. The things the anti-GC crowd complains about simply a reflection of the lack of demand for D as a non-GC language. If there was demand, someone would already have done the work making that stuff available.
April 24
On Tuesday, 23 April 2024 at 15:46:24 UTC, bachmeier wrote:
> If there was demand, someone would already have done the work making that stuff available.

A refreshing take!
April 24
On Wednesday, 24 April 2024 at 01:34:15 UTC, Elias (0xEAB) wrote:
> On Tuesday, 23 April 2024 at 15:46:24 UTC, bachmeier wrote:
>> If there was demand, someone would already have done the work making that stuff available.
>
> A refreshing take!

Rust, Zig, Vlang, Odin, C2, C3, etc and etc.

People are trying harder but making even more mistakes than D.

This should be obvious, but I think people need to hear it out loud.

D SHOULD BE A C AND C++ REPLACEMENT.

D is still Walterlang, not D.

Garbage collection is babysitting, socialism, other people's code taking care of your code. That's not how great programmers are created. Thats not how Walter was made.

We need D, a C/C++ killer.
April 24
On Wednesday, 24 April 2024 at 15:25:27 UTC, Marconi wrote:
> On Wednesday, 24 April 2024 at 01:34:15 UTC, Elias (0xEAB) wrote:
>> On Tuesday, 23 April 2024 at 15:46:24 UTC, bachmeier wrote:
>>> If there was demand, someone would already have done the work making that stuff available.
>>
>> A refreshing take!
>
> Rust, Zig, Vlang, Odin, C2, C3, etc and etc.
>
> People are trying harder but making even more mistakes than D.
>
> This should be obvious, but I think people need to hear it out loud.
>
> D SHOULD BE A C AND C++ REPLACEMENT.
>
> D is still Walterlang, not D.
>
> Garbage collection is babysitting, socialism, other people's code taking care of your code. That's not how great programmers are created. Thats not how Walter was made.
>
> We need D, a C/C++ killer.

D isn't going to replace c, the most important part of c is portable as and zig is so much futher ahead, while havin several of the good features like a actually reasonable compile speed
April 24

On Saturday, 13 April 2024 at 13:55:50 UTC, Marconi wrote:

>

The fact that C still being used today is a clear sign that all language creators failed badly in not seeing the advantages of C, focused only on the disadvantages and exaggerated creating features that no one cares, creating too much possibilities of doing the same thing, getting only learning difficulties.

What D should be?
C with fat pointers, no header files and a big OO standard library.
That's it. A better C. A new C. 90% C + 5% Cpp + 5% Java.

C++ has the advantage of being compatible, but didn't solve the main pointer's problem.
Java is almost this, but VM was a terrible decision (great only for marketing) and GC is good for bad programmers (sorry).
Dlang displease C/C++ programmers for having GC and didn't get any of Java programmers.

It's time to clean Dlang and get all the C/C++/Java programmers onboard of this new clean, simple, fast and easy to use programming language.

I don't think you are going to get Java programmers on board without a really big object-oriented standard library. And if you remove garbage collection (which they don't mind) you would need to add in reference counted automatic memory management for them.

But a big problem would be that one thing most D forum users agree on is that both garbage collection and object-orientation are bad (so why did they choose D?). That is also a modern C++ programmer belief. But it is not a Java programmer belief. So it doesn’t seem possible at this point to satisfy D afficionados and Java programmers due to conflicting beliefs on object-oriented programming (and garbage collection to a lesser extent).

April 25

On Wednesday, 24 April 2024 at 22:37:44 UTC, tony wrote:

>

But a big problem would be that one thing most D forum users agree on is that both garbage collection and object-orientation are bad (so why did they choose D?).

Very few D programmers would agree with the claim that GC is bad. A lot of non-D users and dabblers drop by to say it should be removed from the language.

April 25
On Tuesday, 23 April 2024 at 14:56:50 UTC, Marconi wrote:
>
> If D create some new way to make manual memory management easily, in such a way that the lovers of GC would not be so furious... the language could reach almost the perfection.
>

module nogc_test;

class Duck
{
    import core.stdc.stdio : printf;

    @nogc this(){ printf("quack! quack!\n"); }
    @nogc ~this(){ printf("I'm flyin away now......\n"); }
}

@nogc void test()
{
  scope auto d = new Duck(); // allocated on the stack
}

@nogc void main()
{
  test;
}

April 24
On Thu, Apr 25, 2024 at 12:24:05AM +0000, Lance Bachmeier via Digitalmars-d wrote:
> On Wednesday, 24 April 2024 at 22:37:44 UTC, tony wrote:
> 
> > But a big problem would be that one thing most D forum users agree on is that both garbage collection and object-orientation are bad (so why did they choose D?).
> 
> Very few D programmers would agree with the claim that GC is bad. A lot of non-D users and dabblers drop by to say it should be removed from the language.

It's only a vocal minority.  D users who are relatively happy with the GC generally don't talk about it. And I'm tired of debunking the same old repeated complaints that have been repeated hundreds of times over the years.


T

-- 
All men are mortal. Socrates is mortal. Therefore all men are Socrates.
April 25
On Wednesday, 24 April 2024 at 15:25:27 UTC, Marconi wrote:
> ...
> Garbage collection is babysitting, socialism, other people's code taking care of your code. That's not how great programmers are created. Thats not how Walter was made.
>

Your world view is not my world view.

In my world, a 'good' programmer, is someone who (at the very least) understands *both* the upsides and downsides of manual memory management, automatic memory management, oop and non-oop.

Only when this applies to you have you attained enlightenment (i.e you can see things as they really are).

And only once you attain englightenment, are you then on the path to towards becoming a great programmer (like Walter). And then you  are worthy citizen of Dlan..d.

For some though, it can take at least 7 life-times to reach enlightenment.

April 25

On Tuesday, 23 April 2024 at 14:56:50 UTC, Marconi wrote:

>

If D create some new way to make manual memory management easily, in such a way that the lovers of GC would not be so furious... the language could reach almost the perfection.

Thank you.😊

I'll accept GC as the default, just as long as I have the option to choose and not have the entire ideology treated as second class citizens. The open contempt exists in this thread and others. And there's a forced insistence that the people complaining "don't actually use D" which is just ridiculous.