Web++: A C++ Web Framework
131 subscribers
440 photos
36 videos
20 files
177 links
Web++ Framework (A C++ web framework to ease the pain of web development)

Using modern C++20/23.
GitHub: https://github.com/the-moisrex/webpp

I've been working on this project since 2019...
Download Telegram
Well not in my project you don't! 😂
Seems like GCC 9.3.0 with -fconcepts is no good. There's a bug.
I haven't tested the new version 10 that came out today which doesn't need the -fconcepts though.

Clang 10.0.0 works fine though.
Just made the core library header-only.
Hopefully I won't regret it later.
If you don't like it, tell me in the @webpp_discuss so we can talk about it.
The project's minimum compiler requirements:
I haven't tested other compilers though!
Should I use .h or .hpp for header files (for now of course, I'll probably use something else when I migrate the project to C++20's modules)?
Anonymous Poll
64%
.h
36%
.hpp
0%
Others (please tell in the group)
Web++: A C++ Web Framework
Should I use .h or .hpp for header files (for now of course, I'll probably use something else when I migrate the project to C++20's modules)?
Know that after installation of the project, you can use .h, .hpp, and even without any extensions like this:
#include <webpp/routes/router>
Somehow for some reason Clion IDE
says it needs :: before std. I do have "webpp" namespace and I do have custom polyfills in ::std namespace but no ::webpp::std.
There must be something wrong with my code; I don't trust a code that doesn't compile!
Thanks @ostapmk for suggesting it.
C++20's concepts have the potential to remove header dependencies and circular dependencies specially in the header-only libraries.

Adding ..._concepts.h files really help boosting up compile time I suspect.
You know I'm doing some magic template metaprogramming in the project when you seem me lurking around boost::mpl library.
Not even CLion is able to understand that thing 😅

This is how I report software bugs
I'm designing a global extension system which makes it possible to add some extensions where-ever you need some extensions. Those extensions may require some other extensions, which may have conflict with other extension requirements; so I'm using this meta-programming magic to solve that issue and only inherit from a unique list of extensions.

The Tweet
Yep, I'm writing tests for C++20 concepts as well.
Somehow these bugs are all over the project for no apparent reasons what so ever 😂