@codl it feels like it should be obvious that this is possible but also: why would you do that
we don't do web programming at all but we know there are languages with features designed to make that kind of stuff work and C++ is not one of them -F
@Felthry i don't remember exactly what were the arguments but i think some of them were - "it's fast" - "I know zero python and you know some C++ so i guess we have to do C++" - "i found a templating library and a fastcgi library for c++ so we've got our work cut out for us" - possibly a feeling of superiority for writing in an old, compiled language instead of a hip modern interpreted one
@Felthry@codl I embedded a webserver inside a C++ application (using C++ open-source libraries providing the webserver). The goal was to be able to partially drive that C++ application with a UI written using Python. There was also another webserver embedded in that application (that I didn't write) whose job was to monitor various internal variables and states (and possibly to overwrite those variables), for validation and tests. Those webservers were not used for web programming though, but as external interfaces of a complex C++ application.
Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.
While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.
Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!
@Felthry i don't remember exactly what were the arguments but i think some of them were
- "it's fast"
- "I know zero python and you know some C++ so i guess we have to do C++"
- "i found a templating library and a fastcgi library for c++ so we've got our work cut out for us"
- possibly a feeling of superiority for writing in an old, compiled language instead of a hip modern interpreted one