async networking (was Exploding feature set)
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <[email protected]> |
Robert Collins wrote: >Mukhsein Johari wrote: >> Hi all, >... >> Aside: >> I like the way twisted implements networking and >> protocols. This is not the same as saying I like the >> twisted implementation. Whether or not we need async >> networking will depend on whether prothon has the same >> problems as python when it comes to threading and so >> on. The separation of transport and (application) >> protocol is a good idea though. > >actually async programming is orthogonal to threads. See dan kegels 10K >page for some reading on this. > >(Short version: os threads @ 1 per cpu in the box, async within each >thread (which can be coroutine based as an implementation), gives you >greatest scalability). With our new stackless proposal we will have both bases covered. We should make sure networking works well with both.