How to: gRPC in C++

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

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

  • @llawliet2248
    @llawliet2248 11 месяцев назад +5

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

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

    Thanks, This video helped me a lot.
    Keep doing the great work!!

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

    CONGRATULATIONS ❤❤❤❤

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

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

  • @sharathshetty8052
    @sharathshetty8052 4 месяца назад +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 4 месяца назад +1

      same here 😃

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

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

    • @sharathshetty8052
      @sharathshetty8052 3 месяца назад +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  3 месяца назад +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 7 месяцев назад +1

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

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

    Very good overview- thanks

  • @ВиталийБаханович-ч9ь
    @ВиталийБаханович-ч9ь 2 месяца назад

    Thanks for the video. Really helped with cmake

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

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

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

    Nice content 👍

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

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

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

    I really enjoyed this! Thanks for the content :)

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

    Thank you so much for such a clear explanation.

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

    Wonderful Video of all the capabilities

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

    great tutorial, with the cmake 👍

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

    The audio is so low.

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

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

  • @theintjengineer
    @theintjengineer 9 месяцев назад +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?

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

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

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

    great tut

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

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

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

      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 4 месяца назад

    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  3 месяца назад

      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 3 месяца назад

    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  3 месяца назад

      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 7 месяцев назад +2

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

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

    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  7 месяцев назад

      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 7 месяцев назад

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

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

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

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

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

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

    Need videos about docker :-)