A C++ web/application framework I have been building for the last 12yrs

This page summarizes the projects mentioned and recommended in the original post on /r/programming

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ffead-cpp

    Framework for Enterprise Application Development in c++, HTTP1/HTTP2/HTTP3 compliant, Supports multiple server backends

  • Thats a lovely question, In short, I started my learnings with python/django, php/cakephp, ruby/ror, java/spring, html, javascript and was really fascinated by the web. Because I picked up so many languages early in my journey, I wanted to experiment with real stuff, as in the real complex c++/c world, thats where I saw an opportunity to build a web framework and started building out one. It was hard, memory management, socket programming, i/o multiplexing, memcpy, pointer management, shared memory, threads, mutexes etc etc, it was just too much. Initially for a few years I just ended up building poor code, like really poor code, some of the outline of which I still maintain just as a reminder to myself as to where I really started from. But the declarative programming (#pragma) was an eccentric solution and similar to annotations in java, I build out my own layer of Serialization logic after analyzing the actual data structure layouts and was able to deliver nested stl serialization/deserilaization (this), this was the hardest thing I had achieved. Reflection was a bit easier, then I wanted to integrate the framework with other languages and also provide an alternative to switch the HTTP exchange layer so integrated nginx/apache/and other better/faster backends(pico.v), also ended up contributing to vlang to add C++ support to vlang. Then I started adding support to build/compile on all platforms (uclibc-wrt, android, mingw, other oses etc) and finally added support for building with all the popular C++ build tools out there and finally in the process also created my own build tool on top of bash (shellb)

  • shellb

    Simple Shell based build tool

  • Thats a lovely question, In short, I started my learnings with python/django, php/cakephp, ruby/ror, java/spring, html, javascript and was really fascinated by the web. Because I picked up so many languages early in my journey, I wanted to experiment with real stuff, as in the real complex c++/c world, thats where I saw an opportunity to build a web framework and started building out one. It was hard, memory management, socket programming, i/o multiplexing, memcpy, pointer management, shared memory, threads, mutexes etc etc, it was just too much. Initially for a few years I just ended up building poor code, like really poor code, some of the outline of which I still maintain just as a reminder to myself as to where I really started from. But the declarative programming (#pragma) was an eccentric solution and similar to annotations in java, I build out my own layer of Serialization logic after analyzing the actual data structure layouts and was able to deliver nested stl serialization/deserilaization (this), this was the hardest thing I had achieved. Reflection was a bit easier, then I wanted to integrate the framework with other languages and also provide an alternative to switch the HTTP exchange layer so integrated nginx/apache/and other better/faster backends(pico.v), also ended up contributing to vlang to add C++ support to vlang. Then I started adding support to build/compile on all platforms (uclibc-wrt, android, mingw, other oses etc) and finally added support for building with all the popular C++ build tools out there and finally in the process also created my own build tool on top of bash (shellb)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • pico.v

    extremely fast web server

  • Trust me, these guys are insane and go to really extreme levels and use optimization techniques which are not generally prevalent among the general programming fraternity. for eg, look at pico.v it is awesome and just-js is truly unbelievable, then there is faf, most of them combine low level programming trickery to reach those insane numbers. Also some of the code may not be useful in a production app but they actually extract the juice out of the metal at every instance. Memory optimizations, compiler optimizations, postgresql wire implmentations, rust black magic, these guys are really crazy and passionate.

  • just

    the only javascript runtime to hit no.1 on techempower :fire: (by just-js)

  • Trust me, these guys are insane and go to really extreme levels and use optimization techniques which are not generally prevalent among the general programming fraternity. for eg, look at pico.v it is awesome and just-js is truly unbelievable, then there is faf, most of them combine low level programming trickery to reach those insane numbers. Also some of the code may not be useful in a production app but they actually extract the juice out of the metal at every instance. Memory optimizations, compiler optimizations, postgresql wire implmentations, rust black magic, these guys are really crazy and passionate.

  • faf

    FaF Web Server

  • Trust me, these guys are insane and go to really extreme levels and use optimization techniques which are not generally prevalent among the general programming fraternity. for eg, look at pico.v it is awesome and just-js is truly unbelievable, then there is faf, most of them combine low level programming trickery to reach those insane numbers. Also some of the code may not be useful in a production app but they actually extract the juice out of the metal at every instance. Memory optimizations, compiler optimizations, postgresql wire implmentations, rust black magic, these guys are really crazy and passionate.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts