Is std.signals deprecated?

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 7 16:43:21 PST 2015


On Thursday, March 05, 2015 21:54:01 weaselcat via Digitalmars-d-learn wrote:
> Seems barely maintained and there was a proposed replacement
> claiming it was broken(http://wiki.dlang.org/Review/std.signal)
> that never got approved.
>
> Is std.signals worth using over a dub package?

I think that the wiki page pretty much says what needs to be said. Any
replacament to std.signals would have to get through the Phobos review
queue, and that hasn't happened yet. And aside from a few folks, there has
been very little interest in it one way or the other. So, std.signals will
be around for a quite a while and so you shouldn't have to worry about
needing to switch your code to something else anytime soon if you use
std.signals, but if you want something where active work is being done on
it, then you'll need to find an implementation elsewhere.  Given the dates
on std.signals, it looks like it was done for D1 by Walter Bright and has
just kind of stuck around since without getting any kind of overhaul, so it
may or may not be of a particularly relevant design at this point (I've
never used it or really looked at it, so I have no idea how suitable it is
at this point).  But I expect that which solution you should use really
depends on what you're looking for and what the available solutions provide.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list