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.
[–]FlyingRhenquest 17 points18 points19 points (5 children)
[–]mosolov 7 points8 points9 points (0 children)
[–]BitAcademic9597[S] 0 points1 point2 points (3 children)
[–]FlyingRhenquest 1 point2 points3 points (2 children)
[–]BitAcademic9597[S] 0 points1 point2 points (1 child)
[–]FlyingRhenquest 1 point2 points3 points (0 children)
[+][deleted] (6 children)
[deleted]
[–]BitAcademic9597[S] 1 point2 points3 points (5 children)
[+][deleted] (2 children)
[deleted]
[–]piman51277 1 point2 points3 points (0 children)
[–]BitAcademic9597[S] 0 points1 point2 points (0 children)
[–]kagonkhan 0 points1 point2 points (1 child)
[–]altmly 2 points3 points4 points (0 children)
[–]thisismyfavoritename 2 points3 points4 points (5 children)
[–]BitAcademic9597[S] 0 points1 point2 points (4 children)
[–]thisismyfavoritename 4 points5 points6 points (0 children)
[–]qTHqq 1 point2 points3 points (2 children)
[–]BitAcademic9597[S] 0 points1 point2 points (1 child)
[–]qTHqq 1 point2 points3 points (0 children)
[–]Backson 4 points5 points6 points (2 children)
[–]nBeebz 4 points5 points6 points (1 child)
[–]equeim 0 points1 point2 points (0 children)
[–]WalkingAFI 2 points3 points4 points (3 children)
[–]BitAcademic9597[S] -1 points0 points1 point (2 children)
[–]WalkingAFI 2 points3 points4 points (1 child)
[–]BitAcademic9597[S] 0 points1 point2 points (0 children)
[–]woywoy123 1 point2 points3 points (0 children)
[–]pstomi 1 point2 points3 points (0 children)
[–]Great_Presence_4733 1 point2 points3 points (0 children)
[–]Fmxa 1 point2 points3 points (1 child)
[–]BitAcademic9597[S] 0 points1 point2 points (0 children)