October 29, 2022
On 10/29/2022 1:28 AM, rikki cattermole wrote:
> I have long argued that we should support it as an opt-in flag.
> 
> Because right now, if someone wants to experiment with these more powerful GC designs that can't. So there is no evidence that they couldn't benefit D.
> 
> At the very least it could generate some very interesting research papers if we find the right person to try it out. Especially for GC heavy applications like web services (vibe.d).

I'd love to see one of you do this.
October 29, 2022
On 10/28/2022 9:27 AM, Imperatorn wrote:
> But my bottom line is, I think we should fix those things instead of chasing other languages. 🍀

People suggest that, and ask why doesn't D have sumtypes and pattern matching.
October 29, 2022
My post is now #1 on news.ycombinator.com/news
October 29, 2022
On Saturday, 29 October 2022 at 08:28:22 UTC, rikki cattermole wrote:
> I have long argued that we should support it as an opt-in flag.
>
> Because right now, if someone wants to experiment with these more powerful GC designs that can't. So there is no evidence that they couldn't benefit D.
>
> At the very least it could generate some very interesting research papers if we find the right person to try it out. Especially for GC heavy applications like web services (vibe.d).

For anyone reading this, if you want to be a hero and remembered for all eternity, improve the D GC.
October 29, 2022
On Saturday, 29 October 2022 at 09:11:56 UTC, Walter Bright wrote:
> On 10/28/2022 9:27 AM, Imperatorn wrote:
>> But my bottom line is, I think we should fix those things instead of chasing other languages. 🍀
>
> People suggest that, and ask why doesn't D have sumtypes and pattern matching.

True 😂
October 29, 2022
On 10/29/2022 2:18 AM, Imperatorn wrote:
> For anyone reading this, if you want to be a hero and remembered for all eternity, improve the D GC.

It's literally impossible for me to stop anyone who wants to improve the GC. It's all open source, and Boost licensed. It's even designed to be pluggable.

Make a better one, and we'll incorporate it.

I'll be happy to be shown to be wrong about it.
October 29, 2022
On 29/10/2022 10:42 PM, Walter Bright wrote:
> On 10/29/2022 2:18 AM, Imperatorn wrote:
>> For anyone reading this, if you want to be a hero and remembered for all eternity, improve the D GC.
> 
> It's literally impossible for me to stop anyone who wants to improve the GC. It's all open source, and Boost licensed. It's even designed to be pluggable.
> 
> Make a better one, and we'll incorporate it.
> 
> I'll be happy to be shown to be wrong about it.

There is even a low hanging feature that would potentially improve the current one on Windows, snapshot support!

(shame I never did find where it needed modifying)
October 29, 2022
On Saturday, 29 October 2022 at 09:42:32 UTC, Walter Bright wrote:
>
> It's literally impossible for me to stop anyone who wants to improve the GC. It's all open source, and Boost licensed. It's even designed to be pluggable.

No they can't because D doesn't have a built in managed pointer type and they are limited to a subset of GC algorithms (even limited among the tracing GC ones).

It is possible to use a library custom GC type but then runtime/phobos don't use these so replacing the GC in the entire program isn't possible.

Many have tried to explain this numerous times but you just ignore this obvious fact.
October 29, 2022
On Saturday, 29 October 2022 at 09:42:32 UTC, Walter Bright wrote:
> On 10/29/2022 2:18 AM, Imperatorn wrote:
>> For anyone reading this, if you want to be a hero and remembered for all eternity, improve the D GC.
>
> It's literally impossible for me to stop anyone who wants to improve the GC. It's all open source, and Boost licensed. It's even designed to be pluggable.
>
> Make a better one, and we'll incorporate it.
>
> I'll be happy to be shown to be wrong about it.

I'm not saying you're wrong. It's more like a challenge 😎
October 29, 2022
On Saturday, 29 October 2022 at 10:04:01 UTC, IGotD- wrote:
> On Saturday, 29 October 2022 at 09:42:32 UTC, Walter Bright wrote:
>>
>> It's literally impossible for me to stop anyone who wants to improve the GC. It's all open source, and Boost licensed. It's even designed to be pluggable.
>
> No they can't because D doesn't have a built in managed pointer type and they are limited to a subset of GC algorithms (even limited among the tracing GC ones).
>
> It is possible to use a library custom GC type but then runtime/phobos don't use these so replacing the GC in the entire program isn't possible.
>
> Many have tried to explain this numerous times but you just ignore this obvious fact.

What would be some theoretical ways to improve?

For example, adding a custom gc type, are we talking months or work? Years? What would it look like? Sorry for being ignorant on this