Re: Sync API for workers

On Fri, Oct 11, 2013 at 2:24 PM, piranna@gmail.com <piranna@gmail.com>wrote:

> Synchronous APIs are easier to use since it's how things have been done
> since decades ago,
>

No, they're easier to use because they fit the model of linear human
thought more naturally.  The idea that asynchronous APIs are just as good
and easy as synchronous APIs, and that people only disagree because of lack
of experience with asynchronous APIs, is mistaken.  APIs must be designed
around how programmer's minds actually work, not how you'd like them to
work.

but the required POSIX-like APIs would be better developed as external
> libraries on top of the asynchronous ones.
>
>  You can't build synchronous APIs on top of asynchronous APIs without the
mechanism this thread is specifically about.

-- 
Glenn Maynard

Received on Saturday, 12 October 2013 03:54:41 UTC