<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C++ on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/c++/</link><description>Recent content in C++ on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 06 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/c++/index.xml" rel="self" type="application/rss+xml"/><item><title>Implementing On-Device Speech-to-Text with Whisper.cpp</title><link>https://ai-blog.noorshomelab.dev/on-device-ai-agents-tiny-llms-guide-2026/on-device-stt-whisper-cpp/</link><pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/on-device-ai-agents-tiny-llms-guide-2026/on-device-stt-whisper-cpp/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Building truly intelligent on-device AI agents starts with their ability to perceive and understand the world around them. For human interaction, this often means processing spoken language directly on the device. In this chapter, we&amp;rsquo;ll lay the groundwork for our edge AI system by implementing robust, low-latency Speech-to-Text (STT) capabilities.&lt;/p&gt;
&lt;p&gt;We will leverage &lt;code&gt;whisper.cpp&lt;/code&gt;, a high-performance C++ port of OpenAI&amp;rsquo;s Whisper model, to perform transcription entirely on the device. This choice is critical for privacy, reducing reliance on cloud services, and achieving minimal latency—all hallmarks of a production-ready edge AI system. By the end of this chapter, you will have a standalone command-line application that can transcribe audio files with impressive accuracy, forming a core component for any voice-enabled agent.&lt;/p&gt;</description></item><item><title>Setting Up Your OpenZL Development Environment</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/setup-openzl-development-environment/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/setup-openzl-development-environment/</guid><description>&lt;h2 id="setting-up-your-openzl-development-environment"&gt;Setting Up Your OpenZL Development Environment&lt;/h2&gt;
&lt;p&gt;Welcome back, future compression wizard! In our previous chapter, we took a high-level flight over OpenZL, understanding its revolutionary approach to format-aware data compression. Now, it&amp;rsquo;s time to roll up our sleeves and get practical. Before we can dive into the fascinating world of codecs and compression graphs, we need a solid foundation: a properly configured development environment.&lt;/p&gt;
&lt;p&gt;This chapter is all about getting OpenZL ready for action on your machine. We&amp;rsquo;ll walk through installing the necessary tools, grabbing the OpenZL source code, and building it from scratch. By the end, you&amp;rsquo;ll have a working OpenZL setup, ready for experimentation and coding. No worries if you&amp;rsquo;re new to building software from source; we&amp;rsquo;ll take every single step together, explaining &lt;em&gt;why&lt;/em&gt; we&amp;rsquo;re doing what we&amp;rsquo;re doing!&lt;/p&gt;</description></item><item><title>Chapter 3: Setting Up Your OpenZL Development Environment</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/setup-openzl-environment/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/setup-openzl-environment/</guid><description>&lt;h2 id="introduction-preparing-your-workspace-for-openzl"&gt;Introduction: Preparing Your Workspace for OpenZL&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 3! Now that we&amp;rsquo;ve explored what OpenZL is and why it&amp;rsquo;s a game-changer for structured data compression, it&amp;rsquo;s time to roll up our sleeves and get practical. In this chapter, we&amp;rsquo;re going to set up your development environment, preparing your computer to build and run OpenZL. Think of it as preparing your workshop before you start building something amazing!&lt;/p&gt;
&lt;p&gt;Setting up your environment correctly is a crucial first step for any development journey. It ensures you have all the necessary tools and libraries in place, preventing common headaches down the road. By the end of this chapter, you&amp;rsquo;ll have OpenZL compiled and ready for action on your system, laying the groundwork for all the exciting coding we&amp;rsquo;ll do in future chapters.&lt;/p&gt;</description></item><item><title>Chapter 4: Your First Custom Compressor: A &amp;#34;Hello World&amp;#34; Example</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/first-custom-compressor/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/first-custom-compressor/</guid><description>&lt;h2 id="chapter-4-your-first-custom-compressor-a-hello-world-example"&gt;Chapter 4: Your First Custom Compressor: A &amp;ldquo;Hello World&amp;rdquo; Example&lt;/h2&gt;
&lt;p&gt;Welcome back, aspiring data magician! In the previous chapters, we laid the groundwork by exploring what OpenZL is, why it&amp;rsquo;s a game-changer for structured data compression, and how to get your development environment ready. You&amp;rsquo;re now equipped with the tools and the foundational knowledge.&lt;/p&gt;
&lt;p&gt;In this exciting chapter, we&amp;rsquo;re going to roll up our sleeves and build our very first custom compressor using OpenZL. Think of this as your &amp;ldquo;Hello World&amp;rdquo; moment for format-aware compression. We&amp;rsquo;ll define a simple data structure, translate it into an OpenZL schema, and then use OpenZL to generate a specialized compressor that can efficiently handle data matching our structure. By the end, you&amp;rsquo;ll have compressed and decompressed your own custom data, gaining invaluable hands-on experience and a deeper appreciation for OpenZL&amp;rsquo;s power.&lt;/p&gt;</description></item><item><title>Chapter 9: Integrating OpenZL into C++ Applications</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/integrating-openzl-cpp/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/integrating-openzl-cpp/</guid><description>&lt;h2 id="chapter-9-integrating-openzl-into-c-applications"&gt;Chapter 9: Integrating OpenZL into C++ Applications&lt;/h2&gt;
&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;Welcome to Chapter 9! By now, you&amp;rsquo;ve grasped the core philosophy of OpenZL: its power lies in understanding your data&amp;rsquo;s structure to achieve superior compression. But theory is only half the battle, right? In this chapter, we&amp;rsquo;re going to roll up our sleeves and dive into the practical side of things: integrating OpenZL directly into your C++ applications.&lt;/p&gt;
&lt;p&gt;This is where the magic truly happens! You&amp;rsquo;ll learn how to leverage OpenZL&amp;rsquo;s C++ API to define your data&amp;rsquo;s structure, create specialized compressors, and efficiently compress and decompress structured data. We&amp;rsquo;ll build up a working example piece by piece, ensuring you understand every step.&lt;/p&gt;</description></item><item><title>Chapter 13: Error Handling and Robustness in OpenZL Implementations</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/error-handling-robustness/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/error-handling-robustness/</guid><description>&lt;h2 id="introduction-to-robust-openzl-implementations"&gt;Introduction to Robust OpenZL Implementations&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 13! So far, we&amp;rsquo;ve explored the power of OpenZL for efficient, format-aware compression. We&amp;rsquo;ve defined schemas, built specialized compressors, and even put them to work. But what happens when things don&amp;rsquo;t go exactly as planned? In the real world, data isn&amp;rsquo;t always perfectly formatted, systems can run out of memory, or configurations might be slightly off. This is where robust error handling becomes not just a good idea, but an absolute necessity for reliable applications.&lt;/p&gt;</description></item><item><title>Building a Custom Data Pipeline with OpenZL</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/project-custom-data-pipeline-openzl/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/project-custom-data-pipeline-openzl/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 16! So far, we&amp;rsquo;ve explored the foundational concepts of OpenZL, understood its unique approach to format-aware compression, and even walked through the basic setup. Now, it&amp;rsquo;s time to roll up our sleeves and apply that knowledge to a practical, real-world scenario: building a custom data pipeline for structured data.&lt;/p&gt;
&lt;p&gt;In this chapter, you&amp;rsquo;ll learn how to leverage OpenZL&amp;rsquo;s power to efficiently compress and decompress your own specific data formats. We&amp;rsquo;ll design a simple data structure, define its schema for OpenZL, and then implement a basic C++ pipeline to handle the compression and decompression. This hands-on project will solidify your understanding of OpenZL&amp;rsquo;s core mechanisms and demonstrate its flexibility.&lt;/p&gt;</description></item><item><title>Chapter 16: Project: Optimizing a Database Table Column</title><link>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/project-database-column-optimization/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/openzl-mastery-2026/project-database-column-optimization/</guid><description>&lt;h2 id="chapter-16-project-optimizing-a-database-table-column"&gt;Chapter 16: Project: Optimizing a Database Table Column&lt;/h2&gt;
&lt;p&gt;Welcome back, compression explorers! In our previous chapters, you&amp;rsquo;ve mastered the foundational concepts of OpenZL, learned how to set up your environment, and even dabbled with simple data descriptions and compression plans. Now, it&amp;rsquo;s time to put that knowledge to the test with a practical, real-world scenario: optimizing a database table column.&lt;/p&gt;
&lt;p&gt;In this chapter, we&amp;rsquo;ll embark on a mini-project to apply OpenZL&amp;rsquo;s powerful, format-aware compression to a simulated database column. We&amp;rsquo;ll walk through defining the column&amp;rsquo;s data structure, crafting a specialized compression plan, and observing the impact on storage. This isn&amp;rsquo;t just theory; you&amp;rsquo;ll see firsthand how OpenZL can significantly reduce data footprint and potentially boost query performance by making your data smaller and faster to read.&lt;/p&gt;</description></item><item><title>Building On-Device AI Agents with Tiny LLMs: Three Practical Projects</title><link>https://ai-blog.noorshomelab.dev/projects-v2/on-device-ai-agents-tiny-llms-guide-2026/</link><pubDate>Wed, 06 May 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/projects-v2/on-device-ai-agents-tiny-llms-guide-2026/</guid><description>&lt;p&gt;The landscape of AI is rapidly expanding beyond the cloud, moving intelligence directly to the device. This shift enables powerful applications with enhanced privacy, minimal latency, and robust offline capabilities. This guide will take you through the practical journey of building &lt;em&gt;three distinct, production-style on-device AI agents&lt;/em&gt; using tiny Large Language Models (LLMs) and specialized edge AI tooling. We&amp;rsquo;ll leverage a common hardware platform and software stack to demonstrate how these principles apply across diverse real-world scenarios.&lt;/p&gt;</description></item><item><title>OpenZL Practical Field Guide</title><link>https://ai-blog.noorshomelab.dev/guides/openzl-guide/</link><pubDate>Mon, 26 Jan 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/guides/openzl-guide/</guid><description>&lt;h2 id="welcome-to-the-world-of-openzl-smart-structured-data-compression"&gt;Welcome to the World of OpenZL: Smart, Structured Data Compression!&lt;/h2&gt;
&lt;p&gt;Hello, future data wizard! Are you ready to dive deep into a groundbreaking approach to data compression that goes beyond traditional methods? You&amp;rsquo;re in the right place! This guide will take you on an exciting journey to understand, implement, and master OpenZL, Meta&amp;rsquo;s innovative open-source framework for format-aware data compression.&lt;/p&gt;
&lt;h3 id="what-is-openzl"&gt;What is OpenZL?&lt;/h3&gt;
&lt;p&gt;At its core, OpenZL isn&amp;rsquo;t just another compression algorithm; it&amp;rsquo;s a &lt;strong&gt;framework&lt;/strong&gt; that understands the &lt;em&gt;structure&lt;/em&gt; of your data. Instead of treating data as a generic stream of bytes, OpenZL takes a description of your data&amp;rsquo;s format and builds a &lt;strong&gt;specialized compressor&lt;/strong&gt; uniquely optimized for that specific structure. Think of it as tailoring a suit precisely for your data, rather than offering a one-size-fits-all solution. This allows OpenZL to achieve superior compression ratios and performance, especially for structured datasets like time-series data, machine learning tensors, and database tables.&lt;/p&gt;</description></item></channel></rss>