His code simply spaghetti. Usually, one do this when they feel insecure and has no time for OOP. I knew a friend of mine who did this and now he refactoring the whole codebase into OOP and it costs him a lot time :)
If you are manually managing memory in Modern C++, you're doing it WRONG!
As for linking and compiling, there is CMake which supports vcpkg.
Typing is just like typescript.
int
std::string
std::vector
float
etc
What are that different tools and libraries you have create yourself?
Show me as single library Modern C++ doesn't has but exists in Node/Python.
I'm sure you are using C not Modern C++. The Collages teach poor old C with classes. Yanks!
You can even build your front end with C++...
Come on. He doesn't have users either. He is not building a basic bot either. He wants to target a lot of sites.
C++ is not overkill compared to Typescript. If you can write Typescript, you can write C++ too.
C++ is like Python these days. Really easy to use...
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.
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...
Easy peasy.
You appreciated C++ performance here,
Please consider the speed implications of using python if you are going to make a large project. Yes, python is pretty minimal; but it sure has problems. It has problem with loops, threading and whatnot.
You bashed C++ here for development...
No. You said C++ has faster performance and slow development speed. While the former is true and the latter is incorrect. I disputed your "slow development speed" argument.
I was originally a C++ hater .because of other people's soviet style propaganda against this language.
The way you compare is dishonest. It lure newbies into Python because you said you can make a bot in 10 min.
They don't see your other words.
You need to compare a real world one not a...
C++ is easier.
For example, here how you can spawn a headless browser from C++ and control it from C++
Code
https://source.chromium.org/chromium/chromium/src/+/master:headless/app/headless_example.cc
Instructions
https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md...
Why do you say don't listen to people and go learn GoLang?
This is the main reason why I dislike hype oriented programming languages.
They destroy democracy and fuel hate. C++ suffer from hate, done by monsters like Linus.
Linus hated High level abstractions, and OOP. He loved raw level...
It's and it always been. I have to use wired tricks, lot of googling to get Python to run in Windows or else you have to use WSL.
C++ works cross platform. In C++, You don't run into issues like Pip or any bullshit like GIL.
git clone your-damn-lib
#include <your-damn-lib>
use
Easy peasy...
No. C++ is better choice. You don't have to care about pointers, memory in Modern C++ and that's what I said all along.
Please don't mistake C as C++. You have to do these things in C not in C++ because C++ has abstractions built in.
You don't have to manage memory manually because Modern C++...
Modern C++ is memory-safe. It has first class Webassembly support. In fact, the Alon Zakai (Creator of WebAssembly) is a C++ programmer (He didn't like Rust).
The benchmarks that compare Rust and C++ are dishonest. If you check the benchmarks, you can find one of following,
1 ) They don't use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.