Databases and the D Standard Library

Dejan Lekic via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 4 03:01:33 PST 2017


On Sunday, 1 January 2017 at 03:24:31 UTC, Adam Wilson wrote:
> Hi Everyone,
>
> I've seen a lot of talk on the forums over the past year about 
> the need for database support in the D Standard Library and I 
> completely agree. At the end of the day the purpose of any 
> programming language and its attendant libraries is to allow 
> the developer to solve their problems quickly and efficiently; 
> and a large subset of those solutions require some form of 
> structured data store. To my mind, this makes some form of 
> interface(s) to a data-store an essential component of the D 
> Standard Library. And since this is something that my 
> particular problem spaces also need, I thought it would be 
> useful to attempt to do something about it.


The only thing I want, database related, in the standard library 
is the API! - Nothing else! There should be a standard 
implementation of that API (libd-db.so for an example), but it 
should be separated from Phobos. In general, Phobos should only 
contain the APIs in my humble opinion.
We should handle XML processing the same way (API in Phobos, 
libd-xml.so for the reference implementation), Image processing 
the same way, GUI, etc...

Why? Phobos is enormous already!


More information about the Digitalmars-d mailing list