Feedback from the Gripes and Wishes Campaign

Paul Backus snarwin at gmail.com
Mon May 29 18:40:52 UTC 2023


On Monday, 29 May 2023 at 16:36:20 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> On 30/05/2023 3:47 AM, Paul Backus wrote:
> Unfortunately there are two quite big things that are more than 
> a year away that it should be built from the ground up with.
>
> - Shared library support
> - Some other exception mechanism
>
> If you start now, there will still be breaking changes to come, 
> which may not be worth somebodies time to do another evaluation 
> & partial rewrite for.

I'm not sure what it would mean for stdv2 to be built "from the 
ground up with" shared library support, especially given that 
code like ranges and algorithms will necessarily be implemented 
as templates and distributed as source code.

I agree that it's worth revisiting the use of exceptions in the 
standard library (e.g., there's a lot of code that could be 
@nogc/BetterC compatible if not for exceptions), but I don't 
think it's a good idea to sit on our hands waiting for a 
speculative language feature that may never actually materialize. 
Worst case, if and when this new mechanism lands, we can start 
work on stdv3.


More information about the Digitalmars-d mailing list