Show HN: 90s – an async C++23 web server with templating engine (github.com)

1 points by diznq ↗ HN
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.

0 comments

[ 4.2 ms ] story [ 7.4 ms ] thread

No comments yet.