My Tech Journal - July 2026
My Tech Journal - July 2026 Edition
C++
- C++20: An (Almost) Complete Overview - Marc Gregoire - CppCon 2020 C++20 introduced four major features: modules, ranges, Coroutines and Concepts.
- modules
- Ranges
Range- is an object referring to a sequence / range of elements
- is similar to begin/end iterator pair (but does not replace them)
- allows range adapters to lazily transform/filter underlying sequences of elements
- All standard library algorithms that accept ranges also support
• Projection (a callback that transforms elements before handing over to the algorithm)
• Views (transform/filter range: lazily evaluated, non-owning, non-mutating)
• Range factories (construct views to produce values on demand e.g. sequence of integers)
• Pipelining (views can be chained using pipes ‘|’ just like the Unix pipe feature)
- Coroutines
- Concepts
- Concepts are a mechanism for specifying requirements / contract for template parameters.
- The predicates are evaluated at compile time.
- This feature is more helpful for library developers.
- Concepts are a mechanism for specifying requirements / contract for template parameters.
- modules
- Build an AI Coding Assistant in C++ - Workshop Preview by Jody Hagins
- This is an excellent presentation.
- Jody Hagins explains that
• LLMs are trained to predict the next token. Everything the model outputs is generated 1 token at a time.
• Models are essentially stateless. - 2 things that Make or Break AI generated code:
- Context Management
• AI models have finite “working memory”.
• As it fills, the model loses track of instructions, file contents, and prior decisions.
Monitor context usage - when it hits 55-60%, save the state and restart with a clean context. - Deterministic Workflows
• AI models are probabilistic. The model may skip steps or take unexpected paths.
• Keep all control flow external - scripts to run tests, linters, builds, and feed results back into the model.
This is especially important for complex coding tasks.
- Context Management
- The best advice is
- If possible, provide sample code. The model will use that for reference and generate code with similar style / patterns.
- Use distinct code review personas (each with specific responsibilities)
- If possible, provide sample code. The model will use that for reference and generate code with similar style / patterns.
- This is an excellent presentation.
Database
- From monolith to Lakebase to LTAP: rethinking the database from storage up by Reynold Xin
- ODBC Takes an Arrow to the Knee - ADBC by Matthew Topol, co-founder @ Columnar.tech, Jan 14, 2026
- The traditional database drivers (ODBC/JDBC) return data in row-oriented format.
- Using ODBC/JDBC drivers with column-oriented analytical databases result in highly inefficient usage pattern.
- ADBC is Apache Arrow native. It eliminates the data conversion cost if your application needs to work with column-oriented data.
- ADBC Quickstarts offers sample examples for using ADBC with various databases and query engines.
- In-Memory Analytics with Apache Arrow, 2nd Edition by Matthew Topol
- The traditional database drivers (ODBC/JDBC) return data in row-oriented format.
Infrastructure
- OSDI ‘20 - The CacheLib Caching Engine: Design and Experiences at Scale
- Caching is pervasive, but the systems defer along several axes - performance goals, system topology (in-process vs remote), WL, domain-specific features …
-
The caches have different goals
Cache Type Use-Case Special Considerations CDN cache at the edge static content prioritize low latency; strict TTL to prevent stale content Lookaside key-value session info; user profile high throughput SocialGraph strict consistency requirements Storage user generated content large capcity - CacheLib: website Repo
- General-purpose caching engine
- High capacity caches
- Rich feature set
- Aggregates optimizations from across the teams
- General-purpose caching engine
- Caching is pervasive, but the systems defer along several axes - performance goals, system topology (in-process vs remote), WL, domain-specific features …
- AWS re:Invent 2023 - Dive deep on Amazon S3 (STG314)
Interesting Projects, Code Repositories
Interesting Tools
- bottom (btm)
A customizable cross-platform system monitor with visualization and TUI interface - GROOT — Kubernetes log collector CLI
Perfect for incident response and troubleshooting, especially when you don’t have an observability (o11y) solution. - Git worktree manager: CLI + TUI