Terraform
cdktf Terraform-cdk is really a crappy code base. This is my first time seeing cli logic calls react. See one example. cdktf has tree main packages: @cdktf, cdktf-cli and cdktf. The first two are ...
cdktf Terraform-cdk is really a crappy code base. This is my first time seeing cli logic calls react. See one example. cdktf has tree main packages: @cdktf, cdktf-cli and cdktf. The first two are ...
llamda.cpp ./build/bin/llama-server -m ~/.cache/llama.cpp/Qwen2.5-3B-Instruct-q5_k_l.gguf --port 8012 python -m venv venv source venv/bin/activate pip install -r requirements/requirements-conv...
Nimrod’s post is the best blog I found online that explains virtual table. This post tries my best to answer a few questions. What is inside vtable? How does dynamic dispatch work? How does...
shared_ptr and weak_ptr shared_ptr uses reference counting to realize automatic memory management. shared_ptr is very light-weighted. It only has two member variables: a pointer to the managed obj...
Libuv implements a double-linked closed list using macros. The first time I read it, I feel a little lost because the queue exists both in uv__io_t and loop. Then I read Bodo Kaiser’s explanation. ...
Libuv and io_uring https://github.com/libuv/libuv/pull/3952 Projects that use libuv Nodejs Neovim embeds libuv inside. Checkout this example. Python uvloop and many ASGI web server uses u...
Range libcxx implementation. Let’s walk through a simple example. #include <iostream> #include <ranges> using namespace std; int main() { vector<int> a = {1, 2, 3, 4}; int ...
Parser See code. One interesting thing is that is uses Pratt parser to parse constraint expression. Beginners to C++ concepts may be confused by the new keyword requires. For example, template&l...
Why do we have header files? p0132r0 is a great manuscript about the history and problems with using header files. To sum up, C/C++ files has a notion called independent compilation, which means e...
Structured Binding Structured binding dcl.struct.bind is easy to use but has many pitfalls if you zoom in on the details. The first question is what types do the binding variables have. Let’s take...