Blog

Thoughts, insights, and experiences from my journey in software development

7 min read

What are Vector Embeddings?

Understanding vector embeddings: how machines turn words into numbers that capture meaning. Interactive demo included.

machine-learning embeddings bert nlp rust webassembly semantic-search
Read More
7 min read

BM25 vs TF-IDF: Keyword Search Explained

Understanding BM25 and TF-IDF: the keyword search algorithms that power everything from Google to your local search bar. Interactive comparison included.

search information-retrieval bm25 tfidf rust webassembly nlp
Read More
10 min read

Why std::string is Slow and std::string_view is Fast

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.

C++ performance string_view unordered_map benchmarking optimization containers cache-locality vector-vs-list
Read More