std.signals regressions

David d at dav1d.de
Sat Jul 13 06:47:35 PDT 2013


Am 13.07.2013 10:14, schrieb Robert:
> 
>>>>
>>>> [1]https://github.com/AndrejMitrovic/new_signals
> 
> 
> Hmm, ok this implementation does not implement weak ref semantics, but
> it does implement some fancy features like enabling/disabling emission,
> adding slots at a specified position and stuff. At least for
> enabling/disabling I decided not to include it for now, to keep the
> implementation simple and I also think it is not really needed. But in
> general what features of your new_signals implentation do you really
> need/like that are not present in my implementation? Ideally with use
> cases so I can get an idea? Thanks for the feedback!
> 
> Best regards,
> 
> Robert

What I like? It works and it was a opt-in for my old code (s/mixin
Signal/Signal/), but you need to probably break the API-compatability
with the weak ref thing.
I don't really need the "stop propagation", "insert before/after", but I
can see where it can come in handy.

So far, I was really really happy when Andrej came up with this code, I
really really needed something else than the old std.signals and this
does exactly what I needed.


More information about the Digitalmars-d mailing list