New DIP73: D Drafting Library

Piotrek via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 5 15:26:07 PST 2015


On Thursday, 5 February 2015 at 23:04:03 UTC, Laeeth Isharc wrote:
>>If it's worth inclusion in phobos, it will rise to the top.
>
> I admire idealists, but in the past few years how many 
> independent projects have been adopted by phobos?  Is it the 
> case that none of those that were not are essentially at core 
> unworthy of adoption, or is it that they need some polishing to 
> be of more general use and doing so simply doesn't appeal to 
> the library author, whilst others with the skills are less 
> inclined to help on a private project?  I don't know the 
> answer, but obviously have a tentative assessment.

Despite you mixed up many posts in the one answer I like most of 
you points.

> Since there is so much hidden gold in dub, I wonder if it makes 
> sense to ask notable library authors how they might feel about 
> adoption of parts of their work into Mars.  What does Adam 
> Ruppe think, for example?

+1

>> Maybe I'm wrong but there is a big controversy and 
>> fragmentation e.g. in
>> database and gui domain.
>
> So don't start with databases and guis.  And at least down the 
> line consider the possibility that there might not be just one 
> option when the needs of the problem domains may be very 
> different in spite of apparent superficial technical similarity.


I mean I want to have a functionality in D like in Qt, i.e.  gui 
for:
-Windows
-Linux
-Android

This would need a huge amount of work.

I don't need it to be ready in the first release though. Also I 
don't mind to have it changing rapidly in the first stage of 
development.

>> Moving things towards phobos won't help with fragmentation, 
>> will just piss
>> those off who disagree.  Better path is to put solutions in 
>> dub for people
>> to use and abuse, see if one becomes dominant.  Only then look 
>> at moving to
>> phobos.
>
> If Mars doesn't accomplish its goals then people won't use it 
> and all that will have happened is a little wasted effort - but 
> one doesn't learn without experimentation, including in the 
> social domain.   It just hasn't happened that people mystically 
> converge on a solution just because it is in dub, polish the 
> code and write documentation for somebody else's code base - 
> possibly because someone needs to lead the effort.

The idea seems to be cheep in implementation (e.g. just creating 
the official project would be something) and can be reverted any 
time as it won't be any kind of dependency.

>> This may lead to competing packages. How would we decide what 
>> are the
>> "proper" packages.
>
> One might start with exploring what is already out there and 
> seeing which authors are agreeable to having their work 
> adopted.  Making decisions isn't easy in life, and people are 
> going to criticize you because not everyone will be happy with 
> the outcome - but that isn't a reason not to do something if it 
> is worth doing.

+1
For me, the issue is high entry barrier for Phobos. OTOH I can 
imagine myself making pull requests for the drafting library. Not 
mentioning testing the progress.


>> I like the idea of having a 'recommended' section in dub, for 
>> those things
>> considered by the community to be good.
>
> This is a start, but doesn't address the problem that to be 
> useful to a broad audience one needs much more than raw code 
> and that the library author may not want to or be good at doing 
> these other things.

+1

http://wiki.dlang.org/DIP73#Comparison_to_code.dlang.org_packages

Piotrek



More information about the Digitalmars-d mailing list