3 ms·
IDK I use C/C++ all the time for web servers. It's lightweight and lets you pretty easily/quickly call C/C++ and low-level code and gives you a lot of control i
by beeflet 2y ago
IDK I use C/C++ all the time for web servers. It's lightweight and lets you pretty easily/quickly call C/C++ and low-level code and gives you a lot of control in terms of networking. You can pretty much "do anything" in a straightforward generic way without having to learn some application specific language like PHP or through nginx/apache configuration files.
Having a rust alternative to something like libmicrohttpd would be nice and I would use it.
- Capricorn2481 2y ago> You can pretty much "do anything" in a straightforward generic way without having to learn some application specific language like PHP or through nginx/apache configuration files Not having to learn something like PHP? Do we not count learning C++? I would guess most people would agree learning PHP + Nginx is going to be a lot less complicated, which will be preferable for people just trying to build something. I'm not sure dropping down to such a low level is something most web developers will have to deal with. I think that you find it easy speaks more to an already existing familiarity with C++, not that it would be a path of less resistance.
- Narishma 2y ago> Do we not count learning C++? No, because they presumably already know it. They wouldn't be using it otherwise.