Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Functionality: Well, libdispatch doesn't really work outside of OS X, and this is primarily targeted at Linux server apps.

I can't comment on performance.



Also, it doesn't look very active: https://libdispatch.macosforge.org/trac/log/


libdispatch works on FreeBSD (https://wiki.freebsd.org/GCD) and on Linux (http://packages.debian.org/wheezy/libdispatch-dev), but I don't know if blocks works on Linux.



The library may work, but Grand Central Dispatch, which is the whole point, is really an OS X thing. BSD may have adopted it, not sure. I'm pretty that confident Linux has not.


Grand Central Dispatch is just the marketing name for libdispatch. The do use pthread work queues if available, which they are on OSX & BSD. On linux a thread pool is used


Yes, so there's absolutely no reason to use it if you're primarily targeting Linux.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: