October 18, 2021

On Monday, 18 October 2021 at 14:39:35 UTC, russhy wrote:

>

and then you freeze all threads and must scan all allocated pointers whenever your "gc'd malloc"'s buffer needs to grow

An unsolvable problem, clearly, as it is inconceivable that the user could set a heap size.

Don't believe anyone that would tell you this could boils down to a simple call to a function, such as GC.setHeapSize(XXXX), they are clearly manipulating you.

>

you can't compete with highlevel languages and their sub 1ms incremental GC

Let me tell you a secret. most modern languages use an hybrid approach as the one I described, and even old one have been repurposed to use that when possible (for instance python).

>

AGAIN

ASP.net team is working hard on reducing the impact of the GC in their library!!!! even thought they have a competitive GC, they are making sure they don't do useless GC allocations and are using Span/stackalloc/ValueTysk everywhere!!

Ho, damn, a hybrid approach that allocates on the stack or the GC and frees instead of leaking. Who could have though of that?

>

The smart and pragmatic approach is to give tools for people to write efficient software

Allocators is one of them

How the strawman screaming in between you hear doing?

>

Have we lost our mind focusing on the GC? i think yes

With all due respect, you clearly are not able to address the points made in the discussions you are participating in. It's harsh, but it's true. You shouldn't be making statements about others losing their mind.

October 18, 2021

On Monday, 18 October 2021 at 15:22:30 UTC, deadalnix wrote:

>

On Monday, 18 October 2021 at 14:39:35 UTC, russhy wrote:

>

and then you freeze all threads and must scan all allocated pointers whenever your "gc'd malloc"'s buffer needs to grow

An unsolvable problem, clearly, as it is inconceivable that the user could set a heap size.

Don't believe anyone that would tell you this could boils down to a simple call to a function, such as GC.setHeapSize(XXXX), they are clearly manipulating you.

>

you can't compete with highlevel languages and their sub 1ms incremental GC

Let me tell you a secret. most modern languages use an hybrid approach as the one I described, and even old one have been repurposed to use that when possible (for instance python).

>

AGAIN

ASP.net team is working hard on reducing the impact of the GC in their library!!!! even thought they have a competitive GC, they are making sure they don't do useless GC allocations and are using Span/stackalloc/ValueTysk everywhere!!

Ho, damn, a hybrid approach that allocates on the stack or the GC and frees instead of leaking. Who could have though of that?

>

The smart and pragmatic approach is to give tools for people to write efficient software

Allocators is one of them

How the strawman screaming in between you hear doing?

>

Have we lost our mind focusing on the GC? i think yes

With all due respect, you clearly are not able to address the points made in the discussions you are participating in. It's harsh, but it's true. You shouldn't be making statements about others losing their mind.

You miss the point..

What problem are you trying to solve?

I'm trying to solve the problem that we don't encourage people to write their latency sensitive programs in D and instead fallback to C++ (game engines for example), because std isn't built in the idea that they can provide their own allocation schemes

Be pragmatic, please

Can we at least agree that the work on https://dlang.org/phobos/std_experimental_allocator.html must be resumed and moved out of experimental?

October 19, 2021

On Monday, 18 October 2021 at 18:12:49 UTC, russhy wrote:

>

Can we at least agree that the work on https://dlang.org/phobos/std_experimental_allocator.html must be resumed and moved out of experimental?

std.experimental is where modules go to die. Nothing ever leaves it.

October 19, 2021

On Tuesday, 19 October 2021 at 07:02:01 UTC, bauss wrote:

>

On Monday, 18 October 2021 at 18:12:49 UTC, russhy wrote:

>

Can we at least agree that the work on https://dlang.org/phobos/std_experimental_allocator.html must be resumed and moved out of experimental?

std.experimental is where modules go to die. Nothing ever leaves it.

We really should move allocator into normal std namespace though. It will somewhat help us get to parity with Zig, which does this at a language level, I believe.

October 20, 2021

On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:

>
  • Worst features (in your opinion) in D

Finally got one for D.

  • Phobos always being compiled in release, regardless of whether you compile your application in release mode or not.

Which leads to issues like this:

https://forum.dlang.org/thread/skjrdf$2buv$1@digitalmars.com

And also opens up for buffer overflow for anyone using Phobos.

It's by far one of the most serious issue D has had in years.

October 20, 2021

On Monday, 18 October 2021 at 14:39:35 UTC, russhy wrote:

>

you can't compete with highlevel languages and their sub 1ms incremental GC

ASP.net team is working hard on reducing the impact of the GC in their library!

When GC flies out of the window, it shouldn't matter whether it's sub 1ms incremental or what.

October 20, 2021

On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:

>

I'm brainstorming about what I'll talk about at DConf, and during a conversation with Walter I thought it might be cool to talk about:

  • Worst features implemented in a non-toy language

Old but still nice: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

>
  • Worst features (in your opinion) in D
  • Every not-fully-implemented/half backed feature added prematurely.
>
  • Features you'd like to see in D

First thing I notice when I switch from android development: real string interpolation

October 20, 2021

On Wednesday, 20 October 2021 at 08:17:48 UTC, Andrea Fontana wrote:

>

On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:

>

I'm brainstorming about what I'll talk about at DConf, and during a conversation with Walter I thought it might be cool to talk about:

  • Worst features implemented in a non-toy language

Old but still nice: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

>
  • Worst features (in your opinion) in D
  • Every not-fully-implemented/half backed feature added prematurely.
>
  • Features you'd like to see in D

First thing I notice when I switch from android development: real string interpolation

This has been worked on several times. The community has trouble agreeing on how it should look / work it seems.

October 20, 2021

On Wednesday, 20 October 2021 at 08:17:48 UTC, Andrea Fontana wrote:

>

First thing I notice when I switch from android development: real string interpolation

If there's one feature that shows the severe split between "BUT GC", "BUT @NOGC", "BUT EASE OF USE", "BUT POWAH", "BUT PRINTF(For some ungodly reason)", "BUT BUT BUT".

That one is it.

October 20, 2021

On Wednesday, 20 October 2021 at 08:54:17 UTC, SealabJaster wrote:

>

If there's one feature that shows the severe split between "BUT GC", "BUT @NOGC", "BUT EASE OF USE", "BUT POWAH", "BUT PRINTF(For some ungodly reason)", "BUT BUT BUT".

That one is it.

Why are many using D using printf to begin with and not the D equivalent like writeln?