home.social

#kqueue — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #kqueue, aggregated by home.social.

fetched live
  1. 👨‍💻💾 Oh, you need to reinvent the wheel for detecting file changes on macOS? 🙄 Congrats on discovering #kqueue, the tool that's literally older than your dev career! But hey, at least you got a blog post out of it. 🚀🎉
    vegardstikbakke.com/kqueue/ #reinventthewheel #macOS #filechanges #devlife #blogpost #techhumor #HackerNews #ngated

  2. 👨‍💻💾 Oh, you need to reinvent the wheel for detecting file changes on macOS? 🙄 Congrats on discovering #kqueue, the tool that's literally older than your dev career! But hey, at least you got a blog post out of it. 🚀🎉
    vegardstikbakke.com/kqueue/ #reinventthewheel #macOS #filechanges #devlife #blogpost #techhumor #HackerNews #ngated

  3. Ah, the classic tale of reinventing the wheel 🛞! Behold, the famed network server pattern, dear reader: marvel as it twiddles its thumbs for an event, then dispatches like a waiter at a Michelin-star restaurant 🍽️. Forget progress, let's wrap "epoll" and "kqueue" in redundant libraries and call it #innovation. 🚀
    geocar.sdf1.org/fast-servers.h #reinventingthewheel #networkserver #epoll #kqueue #softwaredevelopment #HackerNews #ngated

  4. Ah, the classic tale of reinventing the wheel 🛞! Behold, the famed network server pattern, dear reader: marvel as it twiddles its thumbs for an event, then dispatches like a waiter at a Michelin-star restaurant 🍽️. Forget progress, let's wrap "epoll" and "kqueue" in redundant libraries and call it #innovation. 🚀
    geocar.sdf1.org/fast-servers.h #reinventingthewheel #networkserver #epoll #kqueue #softwaredevelopment #HackerNews #ngated

  5. 🎉 Behold the groundbreaking revelation: wrapping #io_uring and #kqueue in a warm, fuzzy blanket to make them "user-friendly" for programmers who apparently can't handle raw I/O. 🙄 Gather 'round, fellow developers, for the riveting journey from blocking I/O to... an event loop that looks suspiciously like every other one you've seen. 🤦‍♂️
    tigerbeetle.com/blog/2022-11-2 #userfriendly #programming #eventloop #HackerNews #ngated

  6. 🎉 Behold the groundbreaking revelation: wrapping #io_uring and #kqueue in a warm, fuzzy blanket to make them "user-friendly" for programmers who apparently can't handle raw I/O. 🙄 Gather 'round, fellow developers, for the riveting journey from blocking I/O to... an event loop that looks suspiciously like every other one you've seen. 🤦‍♂️
    tigerbeetle.com/blog/2022-11-2 #userfriendly #programming #eventloop #HackerNews #ngated

  7. @feld @david_chisnall @meka

    More generally: #kqueue still has several ragged edges, compared to poll/select.

    tty0.social/@JdeBP/11457405478

    tty0.social/@JdeBP/11457514245

    Every little helps in order to fill in all of these gaps.

    #FreeBSD

  8. @feld @david_chisnall @meka

    More generally: #kqueue still has several ragged edges, compared to poll/select.

    tty0.social/@JdeBP/11457405478

    tty0.social/@JdeBP/11457514245

    Every little helps in order to fill in all of these gaps.

    #FreeBSD

  9. 🤔 Oh great, another ex-ad guru turned tech philosopher pontificating on the riveting world of I/O multiplexing. Who knew dodging pop-up ads would qualify you to decipher the cryptic nuances of `select`, `poll`, and `epoll`? 🚀 Maybe next they'll teach us how to cast spells with `kqueue`! 😂
    nima101.github.io/io_multiplex #exadguru #techphilosophy #I/Omultiplexing #programminghumor #kqueue #HackerNews #ngated

  10. 🤔 Oh great, another ex-ad guru turned tech philosopher pontificating on the riveting world of I/O multiplexing. Who knew dodging pop-up ads would qualify you to decipher the cryptic nuances of `select`, `poll`, and `epoll`? 🚀 Maybe next they'll teach us how to cast spells with `kqueue`! 😂
    nima101.github.io/io_multiplex #exadguru #techphilosophy #I/Omultiplexing #programminghumor #kqueue #HackerNews #ngated

  11. @meka

    A quick shufti and it looks like the test program is asking for EVFILT_WRITE and the driver is checking for EVFILT_READ.

    #kqueue #FreeBSD

  12. @meka

    A quick shufti and it looks like the test program is asking for EVFILT_WRITE and the driver is checking for EVFILT_READ.

    #kqueue #FreeBSD

  13. @meka

    I was wondering how far you had got with this.

    #kqueue #FreeBSD

  14. @meka

    I was wondering how far you had got with this.

    #kqueue #FreeBSD

  15. @meka

    One thing not strictly select()-related:

    EVFILT_PROC with NOTE_TRACK is another gotcha. It looks great at first glance.

    Until one really hammers it with lots of short-lived processes in a deep tree.

    Then it becomes apparent that NOTE_EXIT and NOTE_CHILD both use the data field for different purposes, but get merged, and grandchildren get lost from their parents.

    news.ycombinator.com/item?id=2

    #FreeBSD #kqueue

  16. @meka

    One thing not strictly select()-related:

    EVFILT_PROC with NOTE_TRACK is another gotcha. It looks great at first glance.

    Until one really hammers it with lots of short-lived processes in a deep tree.

    Then it becomes apparent that NOTE_EXIT and NOTE_CHILD both use the data field for different purposes, but get merged, and grandchildren get lost from their parents.

    news.ycombinator.com/item?id=2

    #FreeBSD #kqueue

  17. @meka

    I'm currently working with an old kernel, and I don't know off the top of my head if/when this got fixed. But one of the things is that attempting to add an EVFILT_READ for a file descriptor that is /dev/null results/resulted in an ENODEV EV_ERROR event.

    It's generally edge case devices that didn't get attention because a lot of the relevant software still used select() and so no-one (apart from kevent()-everywhere people like me) really hit this.

    #FreeBSD #kqueue

  18. @meka

    I'm currently working with an old kernel, and I don't know off the top of my head if/when this got fixed. But one of the things is that attempting to add an EVFILT_READ for a file descriptor that is /dev/null results/resulted in an ENODEV EV_ERROR event.

    It's generally edge case devices that didn't get attention because a lot of the relevant software still used select() and so no-one (apart from kevent()-everywhere people like me) really hit this.

    #FreeBSD #kqueue

  19. @meka

    It is always welcome to see more kevent(), if only because it lets other people share my pain, in the hope that that increases the push for kevent() to be fully completed and as good as select().

    There are a number of cases I have hit over the years kevent() cannot *quite* do what select() does.

    #FreeBSD #kqueue

  20. @meka

    It is always welcome to see more kevent(), if only because it lets other people share my pain, in the hope that that increases the push for kevent() to be fully completed and as good as select().

    There are a number of cases I have hit over the years kevent() cannot *quite* do what select() does.

    #FreeBSD #kqueue