As someone who’s only experience with C++ was a comp sci class, I only know how to compile with gcc on the command line, it’s what we were taught lol. What’s the problem/alternative?
python is only fast when it's C under the hood (i.e. numpy), but for things like game development where framerate and performance are important, it's extremely slow.
I figured you'd say something about C vs C++ since I've actually only ever coded in C and I just assumed C++ memory management was just as unforgiving, but apparently I was wrong
1
u/Qildain Apr 08 '22
Wait... I thought Python (by virtue of its libraries) was fast. Now I'm confused.
Also... don't compile with gcc on the commandline and you'll have a lot less issues with seg faults.
Also, memory management sounds more like C than C++. That's not to say C++won't let you shoot yourself in the foot.