|
|
|
|
|
by ses4j
4626 days ago
|
|
I disagree strongly with a couple of your points. - No need to manually manage memory. That isn't true at all. You know enough memory management to avoid memory issues in your example. C++11 didn't save you from needing to understand it -- you understand it so avoided needing it. - Compile time with -O3 is roughly the same as Python VM startup and has to be done only once. It still requires two separate steps. Also, compile gets slower as the program gets larger, which isn't nearly as true for Python. |
|
There are many sane subsets of C++ that save us from worrying about memory. If you just keep everything on the stack or in an auto_ptr, you should do fine.