Life & fun · February 25, 2022
Efficient Wildcard Pattern Matching in C++
C++ Wildcard Pattern Matching
Efficient Wildcard Pattern Matching in C++ launched on February 25, 2022 with 5 votes and more than 50% of that year's launches. The site was still online in September 2026, 4 years on.
What it does
The C++ wildcard pattern matching library is a simple to use and very efficient wildcard matching/globbing library. The library supports the following wildcard options: The following is a generic implementation of an iterative algorithm for wildcard pattern matching (aka globbing) taking into account the wildcards as described above. The algorithm is wholly iterator based and as such can be used to match patterns over sequences of any element type that is trivially comparable [C++ code: globmatch.hpp] : template < typename Compare , typename Iterator , typename ValueType = typename std :: iterator_traits < Iterator > :: value_type > inline bool match_impl ( const Iterator pattern_begin ,…from partow.org
Does a similar job
all alternatives →
Match(it): A C++17 pattern-matching library with lots of good stuffs2022 · github.com · ▲85A lightweight single-header pattern-matching library for C++17 with macro-free APIs. Try it at https://godbolt.org/z/8YMr8Kz8j
- EPEfficient pattern matching for JavaScript2017 · codemix.github.io · ▲5
Cppmatch – Rust-Like Pattern Matching and Error Handling for C++2025 · github.com · ▲42I'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…
Lambda Lessons2014 · stevekrouse.github.io · ▲6Pattern-matching, first-class functions, and more in Haskell

- CFConduit for C++: Lazy Sequences Using the Coroutine TS2018 · medium.com · ▲7
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 1d ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, February 2022
the whole month →

Sha256 algorithm explained online step by step visually
Life & fun · 2022 · sha256algorithm.com
EdgeDB 1.0▲947Today, after years of research, development, and refinement EdgeDB graduates to a production-ready database. We are very proud to announce EdgeDB 1.0.
Dev tools · 2022 · edgedb.com


