News for hackers. Stuff that matters.
Re:Beautiful Binary Search in D by dataflow on Saturday February 18, 2023 @02:03PM (#34849940)
You're not understanding my point unfortunately. I never said you can't turn it off. I said if you do, and any of your dependencies expect it to be on, then you have a problem. (Yes, I have tried D. That's how I know this.)
Re:Beautiful Binary Search in D by gavinray on Saturday February 18, 2023 @02:10PM (#34850008)
Ohhh, fair enough, yeah I see what you're saying.

Yeah you're boned in that case I think and that's a real problem that can pop up if you want full @nogc

EDIT: Maybe not based on Max's comment

D-Plug (Audio FX plugins) is one example of having to build up a dependency stack of @nogc compatible deps, a lot of that is in-house stuff.

Not impossible but it's a commitment, at which point you may as well use something else unless you REALLY want to use D, for sure.

Re:Beautiful Binary Search in D by dataflow on Saturday February 18, 2023 @02:27PM (#34850177)
> a lot of that is in-house stuff.

That's exactly the issue. Having to reinvent every wheel you need just isn't a selling point.

Re:Beautiful Binary Search in D by mhh__ on Saturday February 18, 2023 @02:09PM (#34849997)
If you actually turn it off (as in GC.disable()) they won't know either way, it's just a memory allocator to them.