A betterC modular standard library?

Mike via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 18 22:12:00 PST 2016


On Monday, 19 December 2016 at 05:22:10 UTC, Ilya Yaroshenko 
wrote:
>> What exactly do you mean by "betterC"?  As far as I know, the 
>> `-betterC` switch just removes ModuleInfo generation.
>
> Because -betterC was not implemented yet.

I'm curious to know what a complete implementation entails.

>> Do you actually mean, a standard library that has fewer 
>> dependencies on druntime features?
>
> I mean this too

I've been wanting to decouple from druntime since I started 
learning D in late 2013, though probably for different reasons 
than yours.  There have been two recent posts [1] [2] wanting to 
do the same thing, and now your post envisioning a more modular 
druntime-less phobos.

[1] - 
https://forum.dlang.org/post/drqdrobcoaanenocycgp@forum.dlang.org
[2] - 
https://forum.dlang.org/post/tmofjecvnqdthvetezfp@forum.dlang.org

It's encouraging to see this trend.  I am interested in seeing D 
become more modular and pay-as-you-go, though I'd prefer to see 
changes in the compiler and druntime (e.g. [3] [4] [5]) before 
phobos.

[3] - http://forum.dlang.org/post/mr71kt$2rgi$1@digitalmars.com
[4] - 
http://forum.dlang.org/post/eiwalbqlbkipdrmsrfoh@forum.dlang.org
[5] - https://issues.dlang.org/show_bug.cgi?id=11666

Mike


More information about the Digitalmars-d mailing list