Different versions of same library with Deimos

1100110 0b1100110 at gmail.com
Tue Mar 26 11:39:06 PDT 2013


>
> We talked about that previously, but I'll say it here again for
> reference: You could use version identifiers and CTFE (the way I did
> with llvm-d). That way someone just has to download the deimos project
> and doesn't have to worry about getting the right branch every time he
> is on a different system. It also reduces the amount of redundant code
> as most of the code across different versions of the same library (for
> the C API anyway) will be the same and if you find a bug you don't have
> to look at all the other branches to see if it also needs to be fixed
> there.
>
> Reading the rest of the posts here it doesn't seem like anyone favours
> it particularly, though, which is a pity.
>
> Moritz

+1

Having used both, I favor it.


More information about the Digitalmars-d mailing list