When To Use Protobufs

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

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

  • @Kane0123
    @Kane0123 5 месяцев назад +13

    So I need to achieve 400 types in my project asap so I can use protobufs… going to take me all night…

  • @The-Funk35
    @The-Funk35 5 месяцев назад +4

    Buffs are good when you need bidirectional communication via gRPC, ultra low latency, absolute type safety, and your teams have really good cohesion across multiple languages. So almost never, but they are fun!

  • @headlibrarian1996
    @headlibrarian1996 6 месяцев назад +9

    I prefer flatbuffers.

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

      How come? I've never heard of it before..

    • @headlibrarian1996
      @headlibrarian1996 5 месяцев назад +1

      @@RootsterAnon It’s Google’s high-performance replacement for protobufs. It tries to eliminate most of the memory allocations and data copying protobuf does.

    • @andrewhatfield5717
      @andrewhatfield5717 5 месяцев назад +6

      ​@@RootsterAnonflat buffers use fixed length numeric values so each field can be random accessed without any parsing. This is faster to read but you trade off a little wire size. They are otherwise basically the same as protobufs or other similar formats.

  • @azeek
    @azeek 5 месяцев назад +3

    I thought this is a longer video

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

      Clipper

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

      Bro turns 10min video into an hour, people complain.
      Bro condenses a thought into a short video, people complain.

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

      ​@@Kane0123 I didn't complain. I just thought it's longer till I realized it at the end. He usually doesn't make 1 min long videos )
      edit: now I realize this is in clips channel. Everything makes sense)

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

    The answer was CORBA…. shudder

  • @void_star_void
    @void_star_void 6 месяцев назад +4

    The answer is never