[Dlang-internal] druntime: proposed changes in code organization

Denis Feklushkin feklushkin.denis at gmail.com
Sat Dec 16 18:44:00 UTC 2023


On Saturday, 16 December 2023 at 18:09:57 UTC, Johan wrote:
> On Saturday, 16 December 2023 at 13:04:27 UTC, Denis Feklushkin 
> wrote:
>> On Wednesday, 13 December 2023 at 17:43:06 UTC, Johan wrote:
>>>
>>> This is not acceptable for LDC.
>>
>> It seems to me, for proposed druntime switching, syntax of 
>> /etc/ldc2.conf already contains all necessary things?
>
> I remain my stance that this is unacceptable. You are forcing a 
> big change on a system that already works, without a real 
> benefit.

Make sure what you read benefits list:
https://github.com/dlang/dmd/pull/15822#issue-1996484133

Also it constains considerations about why this approahch will 
not work ("Another options to solve problem is more painful"):

> Simply use `version` in source files, and all is good (like 
> now). Separate files do not require completely separate source 
> trees. You can have a file with something like:
> ```
> version (A) {
>   public import foo_A;
> } else version (B) {
>   public import foo_B;
> ...





More information about the Dlang-internal mailing list