Saying python is minimal doesn't necessarily say c++ isn't. Makes sense?
I guess you have no idea about python. It's ok, but please man... Don't talk rubbish.
Also, stop putting words into my mouth that i did not say.
You said that indirectly.
I use Python for Statistics (or what they call as Machine Learning (The dumbest thing in the universe)).
Python rocks in that area.
And then there is me:
![]()
who uses,
- Vue & PHP for control panel
- Python for machine learning and AI
- Node for asynchronous tasks and browser emulation
- C++ for some heavy-duty scraping & API penetrating
It's not about which tool is better.
But where to use it.
if there will be a java based tool that can help me, I will add java to this stack as well, w/o blink of an eye.
If you want to refactor your stack, You can cut down PHP and Node here.
I suggest following stack,
Svelte.js for control panel front end
C++ for control panel backend
See here for NodeJS Express style framework for Modern C++,
https://github.com/expresscpp/expresscpp
Code:
#include "expresscpp/expresscpp.hpp"
int main() {
auto expresscpp = std::make_shared<expresscpp::ExpressCpp>();
expresscpp->Get("/", [](auto /*req*/, auto res) { res->Send("hello world!"); });
constexpr uint16_t port = 3000u;
expresscpp->Listen(port,[=](auto /*ec*/) { std::cout << "Listening on port " << port << std::endl; }).Run();
return 0;
}
C++ for async tasks and browser emulation as-well as heavy-duty scraping & API penetrating
C++ has Node style async concurrency with std::future
https://en.cppreference.com/w/cpp/thread/future\
C++ will saves you ton of server costs.
You also can use C++ for machine learning.
Tensorflow has C++ APIs .
C++ also has JIT compiler which you can use in Google Colab.