gvl-tracing icon indicating copy to clipboard operation
gvl-tracing copied to clipboard

Examples with IO

Open casperisfine opened this issue 2 years ago • 3 comments

It would be nice if not all examples were very CPU heavy.

One thing that is often hard to teach about the GVL is when things can actually happen in parallel or not, as such it would be nice to have some examples that do some IOs to show how it release the GVL for other threads.

It would also make for good screenshot in the README so that people don't start to think threads are entirely worthless.

casperisfine avatar Jul 27 '22 10:07 casperisfine

Yeap, fully agreed. I initially intended to include it in the blog post, but ended up "scaling back" the number of examples to hit the first release ;)

ivoanjo avatar Jul 27 '22 17:07 ivoanjo

@ivoanjo Do we still need something one this? I am interested to work on it.

benoittgt avatar Mar 14 '23 13:03 benoittgt

Yeap -- having more examples in the README would definitely be welcome

ivoanjo avatar Mar 14 '23 13:03 ivoanjo