-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/01/2014 12:17 AM, Iñaki Baz Castillo wrote: > 2014-06-30 9:28 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>: >> https://gist.github.com/saghul/909502cc7367a25c247a >> >> (please post comments on this email thread, not the gist) > > I like the proposed API, but just a question: why to "imitate" the > write API? this is, "write" is something that the user decides when > to do, but "read" happens when the remote peer decides it. > > Why this new concept of "decide when to receive"? > > Really, I like the API. >
For one, it's analogous to the synchronous counterpart (read / write), but most importantly, the old API can be easily emulated with this one, while the other way around is quite cumbersome. Also, this concept of requests that complete in the future makes a lot of sense to me, and others apparently :-) - -- Saúl Ibarra Corretgé bettercallsaghul.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBAgAGBQJTsfdkAAoJEEEOVVOum8BZcM8P/0uJR9wy34XWx+7lQsS+3xbP Kw+PZlq2TmThzk+QetPl1MEle2F4Mg38AJR8m2ngficifSOKBM9PjRwGn4PmrjyK DNiehHXWRj0r04PqAerEb9x6qxqYG+PQcFj+fAaLBYpGyBmR3IpywywdvIFnBLQq NfCHxasZENK/8EgBZIVwj61VgdCywCx+WkhwpG19cu7eJonZKEm77yjL8W4UefIA zmLds327aM6lNiR+ahQxzgCvWC+V73QJVoEdNhZ1ZZStDkINcJnNCnZk63iDbsCO r3xDKxhUcum/ZVowiKjbxVexvymhntULajI26U8ItDHcBgDrQ1Lt6ObX0ceiI8wK ARyF1Q6X0YdblxJCdZlmJ1YqHlAVn4Kh90DL/W6UwBZreRjTg2EXbK7Td2fXpIbw 7kgT9rtXsppithLigjUbQmRZwHN0TXO8bzDDHAdmO7a0mTAxbIb/cyuuyFqyRvKU t9Faltx1IsdUUm3qmutvNlQTgfBKQlqCdybVWs8282+130WGp257NSDYrFCboKtm 3Dyo0saugY9D7MxEQ4z51GFkZtgyqK3rFZm4n/HsHVIiLzPZCe6zNWNC5QHTY1Xg 0czq8XeC06W4PayRhWFvyfsvaHMyb3iox5S62XGCKOJdHDdL6Aq423DD+ePoeBDb ThhtvZsnjaj2ghOHYLzE =cuxj -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
