What are Vector Embeddings?
Understanding vector embeddings: how machines turn words into numbers that capture meaning. Interactive demo included.
Thoughts, insights, and experiences from my journey in software development
Understanding vector embeddings: how machines turn words into numbers that capture meaning. Interactive demo included.
Understanding BM25 and TF-IDF: the keyword search algorithms that power everything from Google to your local search bar. Interactive comparison included.
Blocking, thread-per-connection, single-thread epoll, multi-thread epoll. Same machine, same benchmark, same response. From 143K to 1.45M requests per second. Then a C++20 framework that matches the raw C.
A deep dive into async I/O in C and C++. Build an event loop from scratch, understand epoll and io_uring, and see how C++20 coroutines and co_await work under the hood.
Benchmarking std::string vs string_view (22x), vector vs list (12x), the real cost of std::unordered_map, and std::optional for lazy initialization. Real numbers on real hardware.