News for hackers. Stuff that matters.
Re:Show HN: C library for Linux to easily create modular pro... by nierro on Thursday March 29, 2018 @01:43PM (#16709151)
Yes, that's it. Indeed i'm really open to support other platforms; i used linux-only epoll because of its beautiful API and only support linux because i can only test on it.

If anybody asks for support for some other OS, i can think about switching to poll(), even if i find epoll-like interfaces to be much more enjoyable to work with. As stated on project's readme, any patch is welcome.

About licensing, GPL is my usual choice there.

If you think any of these points is crucial, and you'd like some changes, please fill a bug report.

Re:Show HN: C library for Linux to easily create modular pro... by app4soft on Friday March 30, 2018 @09:57PM (#16721223)
Interesting, could be "libmodule" be useful for such app development as AzPainter[0,1] (based on mlib[2] toolkit)?

> If anybody asks for support for some other OS, i can think about switching to poll(),

Think, adding macOS support is enough.

Windows support un-needed[3] as Windows OS will die soon and it's soul go to clouds[4]. I'm serious[5], really[5]! There is HN thread[7] about it.

[0] https://github.com/Symbian9/AzPainter

[1] http://azsky2.html.xdomain.jp/linux/azpainter.html

[2] http://azsky2.html.xdomain.jp/linux/mthemeeditor.html

[3] http://azsky2.html.xdomain.jp/winsoft.html#en

[4] https://news.microsoft.com/2018/03/29/satya-nadella-email-to...

[5] https://www.theverge.com/2018/3/30/17179328/microsoft-window...

[6] http://money.cnn.com/2018/03/29/news/companies/microsoft-res...

[7] https://news.ycombinator.com/item?id=16716040

Re:Show HN: C library for Linux to easily create modular pro... by nierro on Tuesday April 03, 2018 @04:59AM (#16742948)
I cannot say much about AzPainter, sorry. Libmodule is designed to be flexible enough in managing events, so if you are writing any event driven software and that event exposes a file descriptor, you should be able to use libmodule without any issue.

Indeed, i recently added bsd + osx support in libmodule (https://github.com/FedeDP/libmodule/tree/kqueue_support) even if it is not yet in master. It builds, but I still need to properly test it; expect it to be merged sometime near this weekend.