Blog
Notes from building api0 and our Rust tools: AI agents, MCP, Azure integration and Rust itself.
Filter by topic
Showing 6 of 65 articles • Page 9 of 11
AI in Companies Isn't 50 Use Cases. It's 3 Things.
Most generative and agentic AI projects fit into three categories: agents for customers, integration layers for systems, and copilots for employees. Here is why that lens beats a list of fifty use cases.
Your Logic Apps Are a Graph, and the Azure Portal Only Shows You a List
Past a dozen workflows, an Azure Logic Apps estate stops being a list and becomes a graph connected by Service Bus queues and Event Grid topics. Here is why the portal cannot show you that graph, and what to do about it.
How Far Did That Order Get? Tracing a Correlation ID Across Cosmos DB
A customer says their order never arrived. You have a correlation id and an Azure Cosmos DB account with more containers than anyone remembers. Here is why the empty results matter more than the full ones.
GC Pauses and Latency: The Hidden Cost of High-Level Languages
Java, Python, and JavaScript offer convenience, but garbage collection introduces unpredictable latency. Explore how runtime memory management affects performance in real systems.
C Gives You Control, But at What Cost?
C avoids garbage collection and gives manual memory control, but opens the door to dangerous bugs. Explore real-world memory issues and why they matter.
Rust: Memory Safety Without Garbage Collection
Rust gives you the performance of C with memory safety enforced at compile time. Learn how ownership and borrowing eliminate entire bug classes.
How do you store a closure in a struct?
Storing closures in structs using generic parameters, trait objects, and lifetime annotations with Fn, FnMut, and FnOnce bounds
Implications of iterating over a Vec with .into_iter() instead of .iter()
Understanding the differences between .into_iter() and .iter() when iterating over Vec, covering ownership implications and performance considerations
Rust's Higher-Order Functions: Powering Flexible Closures
Exploring higher-order functions in Rust for functional programming patterns
How do you handle lifetimes when returning a closure that captures variables from its environment?
Managing lifetimes when returning closures that capture variables, covering ownership transfer, lifetime annotations, and avoiding dangling references in Rust
Using closures versus regular functions ?
Analyzing performance overhead of closures versus regular functions in Rust, covering static dispatch, heap allocation, and optimization scenarios
Rust's Stateful Closures: Passing and Mutating Across Multiple Calls
Managing stateful closures in Rust for repeated function calls