Linux -- Memory
RSS (Resident Set Size) Resident Set is the virtual memory that is actually living inside physical memory. It consists of three different categories: Anonymous memory pages, file memory pages and ...
RSS (Resident Set Size) Resident Set is the virtual memory that is actually living inside physical memory. It consists of three different categories: Anonymous memory pages, file memory pages and ...
How does import work in Python Below findings are based on Cpython version of 6066739ff7794e54c98c08b953a699cbc961cd28. Bootstrap This step generates two C files Python/frozen.c and Python/deepf...
Basic flow Entry point is src/pytest/__main__.py -> src/_pytest/config/__init__.py:main. Then it creates a Config object, which is a core concept in Pytest. Config initializes a plugin manager....
What is WSGI? Web Server Gateway Interface. Work flow blow client requests -> web server/gateway -> WSGI server -> Python web application/framework. Web server/gateway: NGINX, Apach...
PEP 3119 tp_new vs tp_init tp_new and tp_init are both used during object construction. They take the same arguments args and kwargs. See code. So could we use __new__ instead of __int__ to p...
Sqlalchemy is huge. It has over 600k lines of code. concept: engine metadata: This provides abstract concepts of tabls, columns, constraints, foreign keys, etc. create_all api ...
Cpython Build On a 2019 Macbook Pro. MACOSX_DEPLOYMENT_TARGET=10.15 ./configure --with-pydebug bear -- make -j -s On a 2022 Macbook M1. I have some problem with openssl. So I follow this post ...
botocore and aiobotocore are the two fundamental AWS Python SDK. Most people probably only interact with the higher level abstraction packages such as boto3 and aioboto3. How are different service...
Setting up Java in MacOS MacOS is notorious for the lack of transparency of how everything works. Java is no exception. With a brand new MacBook, you have a few pre-installed commands: /usr/bin/ja...
You may heard about Graal in Java community, but do not know how exactly it works. OK. I do not know either, and this post is about my learning about Java JIT compilers. For a long time, Java has ...