/explore
|
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... |
|
| | | | | ||
| | | | |
www.thedigitalcatonline.com
A blog featuring in-depth posts about Python, Scala, TDD, devops, security and all things development |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
blog.jonlu.ca
A common mistake people make is conflating strong typing with static typing. |
|
| | | |||