• 0 Posts
  • 37 Comments
Joined 11 months 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”.











  • Shouldn’t you at least understand the reason why it is that way? Or are you going to blame Linux when there’s no single entity behind it?

    Microsoft struck shady deals with laptop vendors to make them microsoft exclusive. Steve Ballmer effectively said Linux is cancer (probably blaming GPL license). They let people pirate their software so future technologists grew up with windows and other windows software (adobe did the same with photoshop, now it’s industry monopoly)

    A community OS like GNU/Linux competes with Microsoft who has billions in the bank. It’s only in the past few years that Linux has seen wider hardware vendor adoption at all.

    It’s fine if you think Linux is non-viable… but speak for yourself. Don’t go around trolling people who are perfectly fine with Linux.

    Edit: if you don’t care about anything I just wrote then you’re just a horse with blinders on and I am wasting my time.





  • This particular user seems to be a corporate shill. I hope they are getting paid for their advocacy of the malware infested OS that steals private data of paid users. At least then they wouldn’t be dumb. This user is consistently arguing that piracy is theft in other threads but will go bat for corporations. Companies that have stolen a lot more from tax money, environment, wage theft, lobbying politicians to artificially stiffle competition, lying to congress about data theft, etc.

    Edit: I meant LemmyIsFantastic not you