7 ms·
Deno supports vastly superior threading model (such as green threads). Again depending on what you are coding, threading may not be the best model. Look at Ngn
by postdb 4y ago
Deno supports vastly superior threading model (such as green threads). Again depending on what you are coding, threading may not be the best model. Look at Ngnix vs Apache (event driven vs threading).
- illiarian 4y ago> Deno supports vastly superior threading model (such as green threads) Whatever it supports, Javascript-the-language has no concept of threads. And workers are basically external processes with a somewhat awkward event-based communication and certain limitations. Whatever Deno uses internally to implement them has no bearing.
- 5e92cb50239222b 4y agoJFYI, apache httpd has had a similar event-driven request processing module for about 10 years, maybe more. https://httpd.apache.org/docs/2.4/mod/event.html https://httpd.apache.org/docs/2.4/mod/event.html