cpp

Tag

Cards List
#cpp

@GYLQ520: People learning network programming often fall into the same pitfall—after finishing the theory, they still can't write code; after reading the source code, they don't know where to start making changes. Until I stumbled upon this open-source treasure tutorial: Build Your Own Redis, which guides you step by step from scratch to build a real Redis server. The roadmap is split into two parts…

X AI KOLs Timeline ↗ · 2026-06-16 Cached

This open-source tutorial 'Build Your Own Redis' teaches you to implement a fully functional Redis server from scratch using C/C++, with in-depth explanations of network programming, data structures, and low-level C, accompanied by code and detailed instructions.

0 favorites 0 likes
#cpp

@jichiep: privacy-filter.cpp performance Vs the PyTorch implementation. Approx between 1.6x and 18x faster:

X AI KOLs Following ↗ · 2026-06-16 Cached

privacy-filter.cpp outperforms the PyTorch implementation by approximately 1.6x to 18x in performance.

0 favorites 0 likes
#cpp

hubert.cpp, a C++ implementation of distilHuBERT [P]

Reddit r/MachineLearning ↗ · 2026-06-12

A C++ implementation of distilHuBERT with no runtime dependencies, compiled-in weights, dynamic sizing, and on-par performance with ONNX Runtime, designed for easy integration into CMake projects.

0 favorites 0 likes
#cpp

Release Fil-C Linux/x86_64 version 0.679 · pizlonator/fil-c

Lobsters Hottest ↗ · 2026-06-08 Cached

Fil-C 0.679 is a new release of a fanatically compatible memory-safe implementation of C and C++ that uses concurrent garbage collection and invisible capabilities to prevent all memory safety errors without escape hatches.

0 favorites 0 likes
#cpp

Rotation revisited: Cycle decomposition in clang’s libcxx

The Old New Thing (Raymond Chen) ↗ · 2026-06-04 Cached

The article delves into the cycle decomposition algorithm used in clang's libcxx for rotation, explaining how it achieves the minimum number of swaps by computing the greatest common divisor (gcd) to determine the number of cycles.

0 favorites 0 likes
#cpp

Rotation revisited: A shocking discovery about gcc’s unidirectional rotation algorithm

The Old New Thing (Raymond Chen) ↗ · 2026-06-03 Cached

Raymond Chen explores gcc libstdc++'s rotation algorithm for random-access iterators, revealing it is fundamentally the same as the forward-iterator rotation algorithm, just viewed from a different perspective. The post is part of a series comparing rotation implementations across compilers.

0 favorites 0 likes
#cpp

Show HN: Tiny-vLLM – high performance LLM inference engine in C++ and CUDA

Hacker News Top ↗ · 2026-05-29 Cached

Tiny-vLLM is a high-performance LLM inference engine implemented in C++ and CUDA, offering features like continuous batching and PagedAttention, and serves as an educational resource.

1 favorites 1 likes
#cpp

Add MiniCPM5 tokenizer support by zhangtao2-1 · Pull Request #23384 · ggml-org/llama.cpp

Reddit r/LocalLLaMA ↗ · 2026-05-27 Cached

This pull request adds tokenizer support for MiniCPM5 to llama.cpp, extending the tool's compatibility with the MiniCPM family of models.

0 favorites 0 likes
#cpp

Accelerating std::copy_if using SIMD

Lobsters Hottest ↗ · 2026-05-26 Cached

Blog post analyzing and implementing a SIMD-accelerated version of std::copy_if using AVX-512 instructions on AMD Zen 4, with performance analysis and comparisons to compiler auto-vectorization.

0 favorites 0 likes
#cpp

Wrote a custom C++ engine for MiniCPM-V 4.6 on Orange Pi AIPro (Ascend 310B) to bypass framework overhead

Reddit r/LocalLLaMA ↗ · 2026-05-25

Developed a custom C++ inference engine for MiniCPM-V 4.6 on Orange Pi AIPro (Ascend 310B NPU), achieving 2x speedup over stock framework by writing optimized AscendC kernels for matmul and causal-conv1d, reaching 5.90 tokens/s.

0 favorites 0 likes
#cpp

Creator of C++: "AI-generated code isn't ready - it generates more bugs, more bloat, more security holes, and is nearly impossible to validate"

Reddit r/singularity ↗ · 2026-05-18

Bjarne Stroustrup criticizes AI-generated code, stating it introduces more bugs, bloat, and security holes, and is nearly impossible to validate, with senior developers retiring rather than dealing with it.

0 favorites 0 likes
#cpp

GitHub - pwilkin/openmoss: OpenMOSS pure C++ pipeline based on GGML

Reddit r/LocalLLaMA ↗ · 2026-05-15 Cached

OpenMOSS is a standalone C++/GGML port of MOSS-TTS that provides a self-contained binary for text-to-speech and voice cloning, leveraging a Qwen3-8B backbone and 32 RVQ audio codebooks. It includes a CLI for one-shot synthesis and an HTTP server for repeated generations.

0 favorites 0 likes
#cpp

Integrating 3D Heat Equation into a PINN for Real-Time Aerospace Simulation (C++ WASM Engine)[P]

Reddit r/MachineLearning ↗ · 2026-05-14

Met-Shield is an open-source re-entry simulator that uses a Physics-Informed Neural Network (PINN) to predict thermal gradients on a spacecraft shield, integrated into a C++ WebAssembly engine for real-time browser performance. The project addresses robustness over traditional solvers but faces convergence issues during high heat flux phases.

0 favorites 0 likes
#cpp

Cost of enum-to-string: C++26 reflection vs. the old ways

Hacker News Top ↗ · 2026-05-13 Cached

The article benchmarks the compile-time cost of C++26 reflection for enum-to-string conversion against C++17 libraries and X-macro preprocessor techniques using GCC 16.

0 favorites 0 likes
#cpp

Fighting Hyrum's Law in LLVM

Lobsters Hottest ↗ · 2026-05-11 Cached

This article surveys mechanisms within the LLVM compiler infrastructure designed to prevent dependencies on unspecified behavior, known as Hyrum's Law, to ensure build reproducibility.

0 favorites 0 likes
#cpp

nasa/fprime

GitHub Trending (daily) ↗ · 2026-07-11 Cached

F´ (F Prime) is an open-source, component-driven framework developed by NASA/JPL for rapid development and deployment of spaceflight and other embedded software applications, supporting multiple platforms including CubeSats.

0 favorites 0 likes
#cpp

ggml-org/llama.cpp

GitHub Trending (daily) ↗ · 2026-05-18 Cached

llama.cpp is an open-source C/C++ library for efficient LLM inference on local hardware, supporting various quantization methods and multiple backends (CPU, GPU, etc.).

0 favorites 0 likes
← Previous
← Back to home

Submit Feedback