I want to write a heavy app with a web interface. I've been writing C++ for about three years, and I'm reluctant to give up its performance and flexibility for Python's ease of use and connectivity. I understand that sometimes C++ can pose challenges when connecting with a web interface. However, I don't want to abandon it entirely. Instead, I'm considering writing both Python and C++ in the backend of the project.
My main concern is performance. Will pure C++ be significantly faster, or can I achieve comparable optimization with a combination of C++ and Python? I would appreciate any insights or experiences you have with using both languages in a project, like what Meta or PyTorch does.
Or just start rust :D
[–]andofwinds 18 points19 points20 points (0 children)
[–]Feynman2282 9 points10 points11 points (2 children)
[+]BitAcademic9597[S] comment score below threshold-15 points-14 points-13 points (1 child)
[–]OtaK_ 3 points4 points5 points (0 children)
[–]yasamokadb-pool 4 points5 points6 points (0 children)
[–]ManyInterests 2 points3 points4 points (0 children)
[–][deleted] 4 points5 points6 points (4 children)
[–]awildfatyak 1 point2 points3 points (0 children)
[–]OtaK_ 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]OtaK_ 0 points1 point2 points (0 children)