Live data from Hacker News

Viewing profile — throwway2332

throwway2332

HN member
Joined
Sat, Oct 22, 2022, 3:28 PM UTC
HN karma
3
Public activity
3 items

About throwway2332

No profile information was provided.

Recent public activity

  1. comment
    Comment #33299205

    // 3 requests in flight result1 = async_task1(); result2 = async_task2(); result3 = async_task3(); Depends on implementation, some are eager, some are lazy.

  2. comment
    Comment #33299161

    > I thought Python couldn't multithread because of GIL? Why would it need to in this case? You only need one thread for concurrent I/O.

  3. comment
    Comment #33299122

    > to allow concurrency, you should use asyncio.create_task on coro (formerly ensure_future). This is misleading... you can use asyncio.gather which does this internally [0]. [0]: h…