No need for version expression is a lie

Walter Bright newshound2 at digitalmars.com
Thu Aug 24 23:55:16 UTC 2023


On 8/24/2023 2:51 PM, Adam D Ruppe wrote:
> On Thursday, 24 August 2023 at 21:37:54 UTC, Walter Bright wrote:
>> At one point, druntime was largely converted to using enums and static if, to 
>> implement version algebra. It inevitably increased in complexity until nobody 
>> understood what was happening (due to circular imports).
>>
>> It got dumped in my lap. I converted it all back to versions,
> 
> When was this?

Beats me. Long time ago. I think stdc.stdio was one of the afflicted, so you can 
check the history on that.


>> and it's been trouble free ever since.
> It also tends to lag adoption on new platforms by a significant degree.

Having done ports to new OS's myself, that hasn't been a significant impediment.


More information about the Digitalmars-d mailing list