[DGD] segmentation fault during compile_object
bart at wotf.org
bart at wotf.org
Tue Aug 13 09:49:27 CEST 2013
On Tue, 13 Aug 2013 08:06:12 +0200, Felix A. Croes wrote
> "Littlefield, Tyler" <tyler at tysdomain.com> wrote:
>
> > does this mean we will be seeing lambdas too? if events can take function pointers and
you can easily extend stuff to use them as callbacks, lambdas would be really nice there as
well.
>
> It is telling how even mentioning that an implementation of function
> pointers went unused for 2 years can spark another "wouldn't it be really
> nice to have function pointers" discussion :-)
Have to say that I was a bit surprised there... first about finding an optional fp
implementation in dgd, second seeing you wrote it, and 3rd that it was quite evident noone
had tried to use it so far despite the more then a decade of people asking for them.
At least fps make certain things easier to write and debug (getting compile time type
checking for free), whereas any lambda implementation for lpc I've seen so far makes
things easier to write (eliminating the need for helper functions) but much harder to debug.
Bart.
--
http://www.flickr.com/photos/mrobjective/
http://www.om-d.org/
More information about the DGD
mailing list