90

90s – an async C++23 web server with templating engine

Hacker News

90s – an async C++23 web server with templating engine

Hi HN, I'd like to share with you a proof of concept of a project I've been recently working on in C++. C++ got support for coroutines this year, so I played with that idea that it might fun try it out and build a C++ layer on top of my previous C based project (which currently has a fully working Lua layer for reaching the same objectives). As for templating, the basic idea is to kinda resemble PHP, that is two core parts: live reloading can be achieved by hot swapping .so/.dll files (similar to hot-swapping .php files), <? ... ?> alike syntax for embedding the code. All embedded code can also leverage the co_await syntax, therefore making the webpages implemented this way simple and easily scalable. It's still a proof of concept, so the current state might not be final, but it's not expected to change way too drastically besides adding support for MySQL etc in near future.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
60%60% 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.
Product HuntOn track for Day 1 leaderboard · Strong signals: code · Missing: mac, agents, macos
56%56% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: lua, ide, 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.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
40%40% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
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
19%19% 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
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Pu
Pushing a naive C++ web server implementation to 9k req/SEC79%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pushing a naive C++ web server implementation to 9k req/SEC

Hacker News2
Se
Servasm – Literate web server in x86 assembler70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Servasm – Literate web server in x86 assembler

Hacker News117
Ja
Jael, a Powerful Server-Side Templating Engine for Dart54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Jael, a Powerful Server-Side Templating Engine for Dart

Hacker News3
C
C on the Web with This C to WASM Build Server and CDN78%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

C on the Web with This C to WASM Build Server and CDN

Hacker News14
ba
bashttp - a very (very) simple web server in Bash46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

bashttp - a very (very) simple web server in Bash

Hacker News92
C#
C# WebServer - Simple abstracted web server55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

C# WebServer - Simple abstracted web server

Hacker News1
A
A Simple Web Server in Lisp (Gisp) in Go57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Simple Web Server in Lisp (Gisp) in Go

Hacker News6
Qp
Qpackt – web server that can serve two versions of your website49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Qpackt – web server that can serve two versions of your website

Hacker News4
Gr
Grace - graceful server restarting (not just web)56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Grace - graceful server restarting (not just web)

Hacker News1
Ea
Easy-to-configure Web Server in Go60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Easy-to-configure Web Server in Go

Hacker News106