Life & fun · alternatives · 2026
24 alternatives to Header-only, extensible C++17 argument parser
⛳ Simple, extensible, header-only C++20 argument parser released into the public domain. - sailormoon/flags
This is a C++17 argument parser library designed as header-only code, making it easy to integrate into C++ projects without compilation steps. It provides extensible functionality for handling command-line arguments… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Header-only, extensible C++17 argument parser launched in 2016; newer entries below may have overtaken it.
- 1

A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit
2017 · github.com · its alternatives →
- 2

Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod
2014 · github.com · its alternatives →
- 3

Parse command line arguments by defining a struct. Contribute to p-ranav/structopt development by creating an account on GitHub.
2020 · github.com · its alternatives →
- 4

I've created cppmatch, a lightweight, header-only C++ library that brings Rust-inspired pattern matching and error handling to C++. It tries to imitate the functionality of the questionmark (?) operator in C++ by using a macro that uses the gcc extension https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html This allows to create exceptionless code with non-intrusive error-as-value that unlike Exceptions, makes it clear which kinds of error a function can generate and forces you to handle (or ignore) them. The ? operator translates to *expect* To handle the errors I…
2025 · github.com · its alternatives →
- 5

Very low footprint DOM-style JSON parser written in portable ANSI C - json-parser/json-parser
2012 · github.com · its alternatives →
- 6

A little help for programmers, who wants to run C/C++ code in the browser. (This is my second attempt to show it, first time I got banned bcoz of my personal page domain, I don't really understand it why is is suspicious.)
2022 · github.com · its alternatives →
- 7

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows - drogonframework/drogon
2019 · github.com · its alternatives →
- 8

- 9

Hi HN! Korean high school senior here, about to start CS in college. I built a browser engine from scratch in C++ to understand how browsers work. First time using C++, 8 weeks of development, lots of debugging—but it works! Features: - HTML parsing with error correction - CSS cascade and inheritance - Block/inline layout engine - Async image loading + caching - Link navigation + history Hardest parts: - String parsing(html, css) - Rendering - Image Caching & Layout Reflowing What I learned (beyond code): - Systematic debugging is crucial - Ship with known bugs rather than chase…
Jan 2026 · github.com · its alternatives →
- 10

A lightweight single-header pattern-matching library for C++17 with macro-free APIs. Try it at https://godbolt.org/z/8YMr8Kz8j
2022 · github.com · its alternatives →
- 11

Morning HN. I often found myself wondering "how much does this code segment take in terms of total runtime" and it's often quite annoying to figure out with optimizations enabled, especially when working on something new or testing someone else's implementation without the proper tooling set up. Wanted to have a single include lib that would allow us to write something like: ``` PROFILE("Loop 1") for (...) // some work ``` and have the next expression automatically record time & dump results to a table. Wrote a few macros to do exactly that a few months back, but they were…
2025 · github.com · its alternatives →
- 12

Header only C++23 structured logging library using logfmt - linkdd/logfmtxx
2024 · github.com · its alternatives →
- 13

I love C and C++, but setting up projects can sometimes be a pain. Every time I wanted to start something new I'd spend the first hour writing CMakeLists.txt, figuring out find_package, copying boilerplate from my last project, and googling why my library isn't linking. By the time the project was actually set up I'd lost all momentum. So, I built Craft - a lightweight build and workflow tool for C and C++. Instead of writing CMake, your project configuration goes in a simple craft.toml: [project] name = "my_app" version = "0.1.0" language = "c" c_standard = 99 [build] type = "executable"…
Apr 2026 · github.com · its alternatives →
- 14

A C++ HTML document constructor only depending on the standard library. - tinfoilboy/CTML
2018 · github.com · its alternatives →
- 15

Fast C based HTML 5 parsing for python. Contribute to kovidgoyal/html5-parser development by creating an account on GitHub.
2017 · github.com · its alternatives →
- 16

Howdy HN, as part of my ongoing programming language experiments I've ended up creating my own C++20 lexing and parsing library of sorts. Matcheroni is an alternative to parser generators and regular expressions that uses trees of C++ templates to implement highly customizable lexers and parsers that have minimal impact on build times or binary sizes, while still remaining comparable in performance to Boost regular expressions. The repo includes two example projects - a simple regex parser in ~300 heavily documented lines of code, and a much larger but not quite finished C99 lexer and…
2023 · github.com · its alternatives →
- 17

2011 · github.com · its alternatives →
- 18

Hi HN, I have created a webpage that displays all C++ features since C++20 in a simple, searchable table. It is intended to serve as a quick reference for C++ developers, whether as support for cross-platform development or simply to track the current support status out of curiosity. I created it as a simpler, more structured, and more up-to-date alternative to the cppreference compiler support site. Please note that the page intentionally does not list LWG and CWG papers. This might change as I am continually updating the site and trying out new ideas. Questions, feedback and suggestions…
2025 · cppstat.dev · its alternatives →
- 19

Repo: https://github.com/valdanylchuk/xcc700 Hi Everyone! I just wrote my first compiler! - single pass, recursive descent, direct emission - generates REL ELF binaries, runnable using ESP-IDF elf_loader - very basic features only, just enough for self-hosting - treats the Xtensa CPU as a stack machine for simplicity, no register allocation / window usage - compilable on Mac, probably also Linux, can cross-compile for esp32 there - wrote for fun / cyberdeck project Sample output from esp32: xcc700.elf xcc700.c -o /d/cc.elf [ xcc700 ] BUILD COMPLETED >…
Dec 2025 · github.com · its alternatives →
- 20FA
Fast and extensible Markdown parser in PHP. It supports GitHub Flavored Markdown and it adheres to CommonMark.
2014 · parsedown.org · its alternatives →
- 21

A header only C++11 LRU Cache template class that allows you to define key, value and optionally the Map type. uses a double linked list and a std::unordered_map style container to provide fast insert, delete and update No dependencies other than the C++ standard library. This is a C++11 remake of m
2016 · github.com · its alternatives →
- 22

Modified C++ Inspired by the paper "Some Were Meant for C" by Stephen Kell, I decided to show that it's possible to iterate C++ to be safer, more explicit, and less error-prone. Here's a possible starting point: I didn't invent a new language or compiler, but took the world's best compiler, clang, and modified it to begin iterating towards a new furture of C++. Naming things is hard, so I call this 'Modified C++'. Some of the following could be implemented as tooling in a linter or checker, but the idea is to update the compiler directly. I also wanted to learn more about clang. This…
2022 · github.com · its alternatives →
- 23

Hi HN! I've built [CXXStateTree](https://github.com/ZigRazor/CXXStateTree), a modern C++ header-only library to create hierarchical state machines with clean, intuitive APIs. It supports: - Deeply nested states - Entry/exit handlers - State transitions with guards and actions - Asynchronous transitions with `co_await` (C++20 coroutines) - Optional runtime type identification for flexibility It's ideal for complex control logic, embedded systems, games, robotics, and anywhere you'd use a finite state machine. I’d love feedback, use cases, or contributions from the…
2025 · github.com · its alternatives →
- 24

A C++ parser generator: lexer, parser, and AST generation in one tool. - TantrixAuto/yantra
21d ago · github.com · its alternatives →
Also compare
- Compile-time HTML parsing in C++14 alternatives
- A Fast, Malloc-Free C++14 Json Parser and Encoder alternatives
- Structopt for C++ – Parse command line arguments by defining a struct alternatives
- Cppmatch – Rust-Like Pattern Matching and Error Handling for C++ alternatives
- Very low footprint JSON parser in portable ANSI C alternatives
- How to compile C/C++ for WASM, pure Clang, no libs, no framework alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →