Transcribe.cpp is a lightweight, efficient C++ application for real-time speech transcription using OpenAI's Whisper model via a local HTTP server, optimized for low latency and easy integration.
#c
30 items
The article explores asymmetric memory fence patterns in C++, focusing on how store-load ordering can be optimized using techniques like membarrier() on Linux. It details the trade-offs between full barriers and lighter-weight alternatives, demonstrating scenarios where asymmetric fences improve performance while maintaining correctness in lock-free programming.
This book distills insights from over 1,000 technical interviews into a practical guide for C++ job seekers. It covers common interview topics, problem-solving strategies, and the patterns observed across real-world coding assessments, aiming to help engineers prepare effectively for C++ roles.
Embodied.cpp is introduced as a portable, open-source C++ runtime for deploying embodied AI models on edge devices. It supports a range of visual-language-action models and achieves low-latency inference on platforms like CPUs, NVIDIA Jetson, and Apple Silicon, targeting consumer-grade hardware.
A developer named FractalFir created "crustc," a project that translates the entirety of Rust's compiler (rustc) from Rust source code into C code. The project uses a specialized transpiler to convert the Rust compiler's source into compilable C, aiming to make it accessible on platforms without Rust support.
Part 2 of a series on modernizing a 25-year-old minimal C++ unit testing framework, covering further updates and improvements to bring the legacy codebase up to current C++ standards.
C# 15 introduces enhanced collection expressions with the new `with()` syntax, building on earlier features like spread elements and collection literals. This addition allows developers to create modified copies of collections more concisely and expressively, improving code readability and reducing verbosity when working with immutable or modified collection data.
FoundationDB's Flow is a C++11 framework that introduces actor-based concurrency, allowing developers to write asynchronous, non-blocking code using a callback-free, coroutine-like programming model. It simplifies complex concurrent logic by enabling sequential-style code for distributed systems tasks, originally developed for FoundationDB's internal use.
.NET 11 Preview 4 introduces closed class hierarchies, a new feature that allows developers to restrict inheritance by marking classes with the `closed` modifier, preventing any further subclassing from that point in the hierarchy. This provides more explicit control over type design, improving API clarity and runtime performance through guarded dispatch.
Modern C++ compilers perform extensive optimizations at high warning levels, often generating more efficient code than hand-written assembly. The article argues that developers should trust compiler optimizations, rely on the type system, and avoid premature optimization, using examples like copy elision, constexpr, and auto-vectorization to demonstrate modern compiler capabilities.
Mainmatter's "C to Rust Migration Book" is a guide covering strategies, processes, and technical approaches for migrating existing C codebases to the Rust programming language. It addresses challenges such as gradual migration, interoperability between C and Rust, and maintaining system stability throughout the transition.
This article explores the new "closed class hierarchies" feature in .NET 11 preview, explaining how it allows developers to define sealed base classes with a known set of derived types, enabling exhaustive pattern matching at compile time.
C++26 introduces constexpr virtual inheritance, allowing virtual base classes and virtual inheritance to be used in constant expressions. This expands the capabilities of constexpr code by removing restrictions that previously prevented virtual inheritance from being evaluated at compile time.
A developer created a lightweight logging library available for C++, Java, and C# that allows users to define custom log formats with colors, column padding, and placeholders for timestamps, filenames, thread IDs, and line numbers.
Transcribe.cpp is a transcription engine built on ggml, designed for local, offline speech-to-text processing. It leverages machine learning models to convert audio into text without relying on cloud services, emphasizing performance and privacy.
A bug in the exiv2 library causes minor metadata corruption due to data races under concurrent access. The author traced the issue to unsynchronized shared state and proposed a patch adding proper locking.
This guide explores how eBPF technology enables deep observability in AI-generated services, providing practical implementation examples using Go and C. It explains how eBPF allows developers to monitor system behavior, trace function calls, and collect performance data with minimal overhead. The article positions eBPF as a key tool for observability in modern, AI-driven applications.
GeekGreek is a lightweight logger library for C++, Java, and C# designed to be minimal yet functional, offering optional features like file logging and configuration via environment variables for simpler debugging.
A technical deep dive into the push_back implementation of LLVM's SmallVector, exploring its design trade-offs, memory management strategies, and performance characteristics compared to std::vector.
VNote is a note-taking platform built in native C++ with Qt framework, designed to be pleasant and functional. It supports Markdown editing, TeX, plantUML, graphviz, and offers a tidy interface with full-screen focus mode for efficient note management.
This obituary remembers Gor Nishanov (1971–2026), a significant contributor to the C++ community, known for his work on coroutines and as a long-time Microsoft engineer. It highlights his technical achievements, his mentorship, and his kindness, marking his passing as a great loss to the programming world.
The article discusses the complexities and pitfalls of cancelling a task group in Intel's Threading Building Blocks (TBB) library, highlighting issues like race conditions and unexpected behavior when cancellation is not handled carefully. It provides code examples to illustrate how tasks can continue running or get stuck after a cancellation request.
The article discusses optimizations for LLVM's bump allocator, exploring techniques to improve allocation performance and reduce overhead in memory management.
Microsoft has updated GitHub Copilot CLI to streamline C++ code intelligence setup, making it easier for developers to configure and use Copilot with C++ projects. The new improvements reduce manual configuration steps and improve the accuracy of code suggestions for C++ developers.
Core-1 is an open-source distributed C++ framework designed for building AGI systems at trillion-parameter scale. It focuses on efficient distributed computing, memory management, and scalability for large-scale AI models.
The article discusses "Stroustrup's Rule," which states that there is no single ideal programming language or paradigm for all tasks, and that different problems require different tools. The author reflects on this principle from Bjarne Stroustrup, emphasizing the importance of choosing the right language for the job rather than seeking a universal solution.
A new TypeScript-to-C++ compiler aims to translate TypeScript code into native C++, potentially improving performance by compiling directly to machine code rather than running through JavaScript engines. The approach seeks to leverage TypeScript's type system for optimizations while maintaining compatibility with existing JavaScript/TypeScript codebases.
The article discusses how the author optimized a mechanical ratchet mechanism by applying Resharp (likely a lubricant or surface treatment), resulting in significantly faster operation. It presents experimental comparisons and quantitative performance improvements from the modification.
Hopscotch-map is a C++ library providing fast hash map and hash set implementations using hopscotch hashing, offering open-addressing, cache-friendly storage, and support for heterogeneous lookups and customizable memory allocators.
The video demonstrates a musical performance or composition called "Stairwell in C#" using a unique instrument or setup referred to as Ultracontrapipe. It showcases experimental sound creation, blending visual and auditory elements in a single piece.