3 ms·
> The whole reason why the "event driven IO", callback mess, etc. is a thing is because of the costs of native OS threads. Nope. The whole reason why event dri
by charliesome 12y ago
> The whole reason why the "event driven IO", callback mess, etc. is a thing is because of the costs of native OS threads.
Nope. The whole reason why event driven IO is so popular is because of all the FUD that has been spread about the 'costs' of native threads.
Native threads are cheap as hell on modern systems. Programming in an event driven style may be more natural for some problems, but for the vast majority of cases, native threads and blocking I/O is superior.
- m0th87 12y agoThen how do you explain the fall of apache, and rise of nginx?
- charliesome 12y agoPop culture?
- read 12y agoNo, better design. "A-patch-y" was a collection of patches.
- charliesome 12y agoLike most open source software, no? Apache 2.4 is a pretty solid web server. So is nginx. They both have their ups and downs, but unless you have highly specialised needs, either will do the job.
- dllthomas 12y agoLike most software, period, past a certain age (and possibly even unqualified).