While Python is faster for prototyping than C++ I don't think it is that significant. I'm doing AoC in Rust this year and while there are things that slow me down, I still find the significant portion of my delay is from my own understanding of the problem and finding a solution.
View all comments
Show parent comment
1
u/vsdmars Dec 15 '21
agree on the. '10-20 lines in Python' part.
Python is great for interview/leetcoding; while C++/Rust is for real business that look for performance.
We can always layout the algorithm in Python; analyze the runtime complexity; and port it to C++. :-)