Li

Libzdb – C Database Connection Pool library now with C++20 API

Hacker News

Libzdb – C Database Connection Pool library now with C++20 API

I've updated an old C Database Connection Pool library (previously shared on HN) with a new C++20 API. This project was my foray into modern C++, and I'm hoping the community finds it useful and that the C++ code meets modern standards. The intro to the C++ API for the library is here: https://tildeslash.com/libzdb/api-docs/zdbpp_8h.html Feedback on the C++ implementation is welcome, especially from those experienced with modern C++. I'm particularly interested in thoughts on the API design and use of C++20 features.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
58%58% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
TrustMRRFits verified-revenue profile · Missing: mobile apps, ios, personal
54%54% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: new, code · Missing: mac, agents, macos
51%51% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
50%50% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
32%32% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Vi
Vibur DBCP, a concurrent & dynamic JDBC connection pool40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Vibur DBCP, a concurrent & dynamic JDBC connection pool

Hacker News2
A
A dead simple JDBC wrapper and connection pool30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A dead simple JDBC wrapper and connection pool

Hacker News4
Th
Thread Pool implementation in C++45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Thread Pool implementation in C++

Hacker News2
Fi
Finger Pool29%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Finger Pool

Hacker News1
Fi
Finger Pool29%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Finger Pool

Hacker News1
Wo
Worker Pool for Erlang53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Worker Pool for Erlang

Hacker News8
El
Elasticsearch for the GPG keyserver pool51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Elasticsearch for the GPG keyserver pool

Hacker News6
Houston Pool Renovations
Houston Pool Renovations20%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pool remodeling, resurfacing

Product Hunt+6
Re
Release 1.0 of Vibur DBCP, the fast and dynamic JDBC connection pool31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Release 1.0 of Vibur DBCP, the fast and dynamic JDBC connection pool

Hacker News1
Qu
QueryTuner – SQL diagnostics across 5 DBs, no database connection60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

QueryTuner – SQL diagnostics across 5 DBs, no database connection

Hacker News8