• 0 Posts
  • 37 Comments
Joined 1 year ago
cake
Cake day: December 24th, 2023

help-circle






  • I am quite cheeky for saying this but:

    How is it leaky if the default paradigm of any sequential program is the expectation that it will block? If i write blocking socket code I know my thread is blocked until read() returns.

    If i am writing async socket code I know to wait for poll or whatever it is that is the correct way to wait nowadays. My design would reflect that. The blocking is just moved to another thread effectively and this abstraction is packaged as a Future.

    Asynchronous code does not require the rest of your code to be asynchronous. I can’t say the same for blocking code.

    Well this is just stating a tautology isn’t it?

    Edit:

    It would be a Hurculean effort, and I don’t think it’s a sustainable approach. If you’re writing a higher level library, it would be a lot to ask to check if your dependency’s dependency’s dependency maybe reads from a socket.

    I guess I understand what’s the argument here.

    The author wants a safeguard against libraries that are blocking with compiler checks. I agree it is a nice thing to have. But they could have mentioned that without saying “blocking code is leaky abstraction”.











  • Apparently you want me to point out where I took the developer’s words but intentions are not words. You’re deliberately trying to argue that I am accusing the dev of things they did not do, but that’s not true. I am only arguing on their actions and assigning motive to their actions which I make clear in all my comments.

    You’re the one who is calling people entitled for expecting LGPL code to be FOSS. I am merely replying to your comments.


  • The history change was probably to avoid violating the LGPL. If any contributors don’t agree with the change (or you don’t want to do the onerous task of getting consensus as required) you should remove their contributions from the work you make closed source as the contributions still come under LGPL until the original author consents to the change.

    Or at least that’s what people said here.