How to: gRPC in C++

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 46

  • @llawliet2248
    @llawliet2248 9 месяцев назад +4

    that a pretty cool and helpful block of information i just received! THANKS.

  • @stefanmuck2048
    @stefanmuck2048 13 дней назад

    Thank you very much. That helped me getting kick-started with grpc and protobuf.

  • @sharathshetty8052
    @sharathshetty8052 3 месяца назад +1

    I subscribed because of C++ content done well. Funny thing, I first used RPC with C++ back in 1995 with DCE/Encina. After that I implemented RPC multiple times using raw TCP or HTTP or NATS. Recently a customer asked for gRPC, so here I am. 😀

    • @innovationmafia3754
      @innovationmafia3754 3 месяца назад +1

      same here 😃

    • @practicalsoftwaremarcus
      @practicalsoftwaremarcus  2 месяца назад +3

      You're a legend to use RPC that long ago!

    • @sharathshetty8052
      @sharathshetty8052 2 месяца назад +1

      ​ @practicalsoftwaremarcus Naah, just makes me old. Concepts of marshalling/unmarshalling data existed even before that in Borland C++ libraries. Marry that with messaging, you can build your own RPC. I also worked on CORBA with C++ later, which used the IIOP protocol. But firewalls killed IIOP, and web services took off. GRPC is just the recent iteration of RPC protocol.

    • @practicalsoftwaremarcus
      @practicalsoftwaremarcus  2 месяца назад +2

      @@sharathshetty8052 I am familiar with this too. Worked in the semiconductor industry where they invented their own serialization /interface definition file 20 years ago ;). To me gRPC/Protobuf really captures a common problem.

  • @rishiniranjan1746
    @rishiniranjan1746 6 месяцев назад +1

    This has helped me a lot integrating grpc using docker approach. Thanks ❤

  • @OhhBabyATriple
    @OhhBabyATriple 4 дня назад

    Very good overview- thanks

  • @ВиталийБаханович-ч9ь

    Thanks for the video. Really helped with cmake

  • @sirrcharles1869
    @sirrcharles1869 6 месяцев назад

    Thanx for this super clear tutorial, you are a great teacher!

  • @Goodwill345
    @Goodwill345 8 месяцев назад

    Wonderful Video of all the capabilities

  • @CarelessOutcast
    @CarelessOutcast 6 месяцев назад

    I really enjoyed this! Thanks for the content :)

  • @flipflop1758
    @flipflop1758 7 месяцев назад +10

    The audio is so low.

  • @antunesmoura8634
    @antunesmoura8634 9 месяцев назад +2

    CONGRATULATIONS ❤❤❤❤

  • @elliepistalerro3097
    @elliepistalerro3097 9 месяцев назад +2

    Thank you a lot! Please, continue to create a content

  • @damondouglas
    @damondouglas 4 месяца назад

    Thank you so much for such a clear explanation.

  • @王小明-p4j
    @王小明-p4j 7 месяцев назад

    This demo really use "Modern CMAKE", which complies the standard nowadays, nice.

  • @mr.shredder5430
    @mr.shredder5430 6 месяцев назад

    great tutorial, with the cmake 👍

  • @wlepnoga
    @wlepnoga 10 дней назад

    The Wait() function starts an infinite loop, how to end it correctly? What does it mean from another thread?

    • @practicalsoftwaremarcus
      @practicalsoftwaremarcus  9 часов назад

      I've later learned that you don't have to call Wait(). The server starts in an internal thread in gRPC and the wait() simply blocks until you call shutdown from another thread. So you can have the _main_ thread to something else rather than waiting!

  • @ozimandias1858
    @ozimandias1858 3 месяца назад

    Hi! I had a problem writing a cmake file that supports the case where one proto imports another inside itself. Could you please drop a link where a similar design is implemented.
    Everything I found is too cumbersome compared to what you have in video

    • @practicalsoftwaremarcus
      @practicalsoftwaremarcus  2 месяца назад

      I will share a public repo I worked on for pointcloud processing. Look for the `grpc`folder, I use multiple grpc files!
      github.com/Marcus-Forte/pointcloud-tools/tree/main/grpc

  • @mastermind9711
    @mastermind9711 2 месяца назад

    Could ypu please share the link of the docs where the gRPC installation is mentioned? I tried searching for it but couldn't find any. I want the linux commands

    • @practicalsoftwaremarcus
      @practicalsoftwaremarcus  2 месяца назад

      Sure. What I did was follow steps in grpc.io/docs/languages/cpp/quickstart/ and put them in the Dockerfile - specifically Linux & MacOs commands. Main difference being that inside a docker, you don't need to specify CMAKE_INSTALL_PREFIX, you can install system-wide

  • @munna5553
    @munna5553 6 месяцев назад +2

    Can you please make video on Drogon c++ web framework installation please

  • @sarahfacanha
    @sarahfacanha 9 месяцев назад +2

    Nice content 👍

  • @akshaypratap4123
    @akshaypratap4123 5 месяцев назад

    Great tutorial. From next time please post a github repo of your demonstration so that it would be easier for us to pick code.

  • @theintjengineer
    @theintjengineer 8 месяцев назад +2

    You got another subscriber (because of the C++ Content haha).
    Btw: I'm also another Electrical Engineer who got lost in Software Engineering😅.
    Also, are you Brazilian?

  • @rishiniranjan1746
    @rishiniranjan1746 6 месяцев назад

    Today i spent 5 hours straight to make cmake file run but of no use. I added grpc as a submodule. I received lots of file not found issues. Could you suggest any good cmake tutorial?

    • @practicalsoftwaremarcus
      @practicalsoftwaremarcus  6 месяцев назад

      I have a video on cmake, have you checked it out?
      In my next video I will use grpc with cmake once, so maybe it helps further!

    • @rishiniranjan1746
      @rishiniranjan1746 6 месяцев назад

      @@practicalsoftwaremarcus yes I'm going through all your videos. 💓

  • @rakshitx1
    @rakshitx1 4 месяца назад

    Great Video, would love to know how to make those diagrams

    • @practicalsoftwaremarcus
      @practicalsoftwaremarcus  4 месяца назад +1

      I will make on dedicated to UML and the thinking behind crating diagrams!

  • @jayaprakash7959
    @jayaprakash7959 Месяц назад

    great tut

  • @ozimandias1858
    @ozimandias1858 3 месяца назад

    Need videos about docker :-)