Forum Replies Created

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • in reply to: microservices and c++ #102775
    Kevin
    Participant
        Up
        1
        Down
        ::

        In general, my opinion is that the Microservice architecture is not directly bind to a specific language. And of course you can create Microservices in C++.

        About should they do it in C++, if they had experience in C++ and did most of their work in it, then i would say they should go with C++.

        But is there really a need to completly rewrite their existing system?

        Because as Rainer mentioned in the last Q&A Session those rewritten Systems tend to be more worse then the original system.

        in reply to: Calls to delete in operatorOverloadingAssignment.cpp #68934
        Kevin
        Participant
            Up
            1
            Down
            ::

            The issue here is that you call getInfo() at the end of the main function. At this point both Account and whats still there for Account2 is still on the stack. If you wrap all the Creation, copy and movement of the Accounts in an execution block and calling getInfo after that it shows that no memory leak is there:

            https://godbolt.org/z/oedhcKnWY

          Viewing 2 posts - 16 through 17 (of 17 total)