20 Mart 2020 Cuma

Linux ve Asenkron Programlama

Dave Cutler Kimdir
Açıklaması şöyle.
Dave Cutler is well known for his contributions to operating systems, having led the effort on VAX VMS at DEC and Windows NT at Microsoft. According to his Wikipedia page, he is also known for his attitudes toward Unix.
Unix İşletim Sistemine Eleştirisi
Dave Cutler Unix işletim sistemini asenkron programlamayı tam desteklemediği için eleştiriyor.
Açıklaması şöyle.
[Cutler] expressed his low opinion of the Unix process input/output model by reciting "Get a byte, get a byte, get a byte byte byte" to the tune of the finale of Rossini's William Tell Overture.
Halbuki asenkron programlama yeni değil. Açıklaması şöyle.
The I/O model on "Cutler systems" -- RSX-11M, VAX/VMS, Windows NT -- is an asynchronous packet-driven I/O model, rather than the fundamentally synchronous I/O model of Unix. At its core, you fire off an I/O request, and get a notification of when it's complete. Meanwhile, execution continues.

Of course, it's trivial for the system to provide synchronous I/O routines on top of that: have the I/O request completion set a condition ('event flag') and then wait on that condition.

In contrast, adding asynchrony on top of a synchronous I/O system is rather more involved.

Hiç yorum yok:

Yorum Gönder