| Thread overview | ||||||||
|---|---|---|---|---|---|---|---|---|
|
January 01, 2015 Re: Phobos colour module? | ||||
|---|---|---|---|---|
| ||||
Attachments: | On Thu, 1 Jan 2015 16:38:32 +1000
Manu via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> Does it seem like something we should see added to phobos?
i think that this will be a valuable addition. i really tired of copypasting various color model conversion code, for example, and i can never do that to the extent of "real" module. it will be great if Phobos will have tools for working with colors out of the box.
| |||
January 01, 2015 Re: Phobos colour module? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to ketmar | On Thursday, 1 January 2015 at 06:47:14 UTC, ketmar via Digitalmars-d wrote:
> On Thu, 1 Jan 2015 16:38:32 +1000
> Manu via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>
>> Does it seem like something we should see added to phobos?
> i think that this will be a valuable addition. i really tired of
> copypasting various color model conversion code, for example, and i can
> never do that to the extent of "real" module. it will be great if
> Phobos will have tools for working with colors out of the box.
Yes please.
| |||
January 01, 2015 Re: Phobos colour module? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja Attachments: | On Thu, 01 Jan 2015 07:00:53 +0000 Tofu Ninja via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On Thursday, 1 January 2015 at 06:47:14 UTC, ketmar via Digitalmars-d wrote: > > On Thu, 1 Jan 2015 16:38:32 +1000 > > Manu via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > > > >> Does it seem like something we should see added to phobos? > > i think that this will be a valuable addition. i really tired of > > copypasting various color model conversion code, for example, > > and i can > > never do that to the extent of "real" module. it will be great > > if > > Phobos will have tools for working with colors out of the box. > > Yes please. ah, that maillist quirks again... the original post is here: http://forum.dlang.org/thread/mailman.3926.1420094321.9932.digitalmars-d@puremagic.com | |||
January 01, 2015 Re: Phobos colour module? | ||||
|---|---|---|---|---|
| ||||
On 1/1/15, Manu via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> Does it seem like something we should see added to phobos?
You're likely to have more success making it an independent library and putting it on code.dlang.org.
Remember that tying the library to Phobos means that any bugs fixed will only reach people after a new version of DMD+Phobos is released, and releases are infrequent.
| ||||
January 01, 2015 Re: Phobos colour module? | ||||
|---|---|---|---|---|
| ||||
On 1 January 2015 at 23:11, Andrej Mitrovic via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> On 1/1/15, Manu via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>> Does it seem like something we should see added to phobos?
>
> You're likely to have more success making it an independent library and putting it on code.dlang.org.
>
> Remember that tying the library to Phobos means that any bugs fixed will only reach people after a new version of DMD+Phobos is released, and releases are infrequent.
I would do that to start with, but the difference is that if I work with phobos in mind, then I'll raise design discussion here, otherwise I'll just keep it to myself.
| ||||
January 01, 2015 Re: Phobos colour module? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Manu | Manu:
> I would do that to start with, but the difference is that if I work
> with phobos in mind, then I'll raise design discussion here, otherwise
> I'll just keep it to myself.
I think having a color module in Phobos is OK. But probably it's better to write it with Phobos in mind but to keep it in code.dlang for some time, like one year, to refine its API, before adding it to Phobos.
Bye,
bearophile
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply