SumType in Phobos?

Ernesto Castellotti erny.castell at gmail.com
Wed Feb 19 09:53:05 UTC 2020


On Wednesday, 19 February 2020 at 08:23:57 UTC, Petar Kirov 
[ZombineDev] wrote:
> In summary, I believe that Phobos needs to grow up and break 
> free from the compiler releases and go become a dub package. 
> Then I see no reason why Phobos should not adopt SumType - it 
> will be just one line of code in its dub.json/dub.sdl ;)

Phobos as a dub package?  It would be extremely interesting to 
distribute the STD without depending on the compiler.
The problem?  Dub ;-)

I think it will be extremely difficult to convince people to use 
dub, there are technical problems with dub (but this can be 
solved, so ok) but above all people want all working out of the 
box.
Having to use dub to compile every file that uses the STD I don't 
think it's a good idea.

Tell me if there are any details that could improve the situation


More information about the Digitalmars-d mailing list