/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

til.simonwillison.net
| | johnjr.dev

The Global interpreter lock(GIL) is a mechanism in CPython implementation to ensure only one thread is running at a time. This means that even if we use threads to try to speed up our programs' runtime, this will not work because, in the end, the interpreter will block that two or more threads will be executed in parallel. As the name suggests, the GIL is a locker that a thread gets when it starts and releases at some moment. There is only one locker, so two threads cannot get it simultaneously. As a result, our program with threads will be slower than the same program without threads because of the time to create threads and not take advantage of them. However, this is true only for CPU bound problems, which requires a large amount of CPU time to process, l...
13.0 parsecs

Travel
| |
| | www.thedigitalcatonline.com

A blog featuring in-depth posts about Python, Scala, TDD, devops, security and all things development
11.8 parsecs

Travel
| |
| | shot-scraper.datasette.io

[AI summary] shot-scraper is a command-line utility for taking automated screenshots of websites and running tests on web browsers.
13.3 parsecs

Travel
| |
| | blog.jonlu.ca

A common mistake people make is conflating strong typing with static typing.
45.2 parsecs

Travel
|