[erlang-questions] Protobuf library choosing?

Zhibo Wei zweicmu@REDACTED
Mon Dec 1 12:18:52 CET 2014


I've used both libraries, I'd say gpb would be a better choice at this
point.It provides you better code quality where the pokemon stuff (in
erlang_protobufs) cannot do.

erlang_protobuffs is stable, but hasnt been updated for a long time. As the
author of erlang_protobuffs mentioned in this thread
https://github.com/basho/erlang_protobuffs/pull/69, it will probably get
rewritten in the future, but for now, I'd stick with gpb.

On Mon, Dec 1, 2014 at 3:00 AM, <erlang-questions-request@REDACTED> wrote:

>
> Message: 2
> Date: Mon, 1 Dec 2014 13:25:08 +0800
> From: ??? <yueyoum@REDACTED>
> To: Erlang Questions <erlang-questions@REDACTED>
> Subject: [erlang-questions] Protobuf library choosing?
> Message-ID:
>         <CALZWPGhCr9u42FHngdOB9X5nQW88ZK2tRbrg=
> iVJ2q8k2xyP+g@REDACTED>
> Content-Type: text/plain; charset="utf-8"
>
> There is two libraries for using protobuf in erlang:
>
>
> https://github.com/basho/erlang_protobuffs
>
> https://github.com/tomas-abrahamsson/gpb
>
>
> Which one is easy to use?
>
>
> In my simple test,  pgb is more easy to use,
> but why erlang_protobuffs is more popular ?
>
> --
> My GitHub
> https://github.com/yueyoum
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://erlang.org/pipermail/erlang-questions/attachments/20141201/f9b7822b/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Mon, 1 Dec 2014 13:41:53 +0800
> From: Yang Liu <liuyang124846@REDACTED>
> To: ??? <yueyoum@REDACTED>
> Cc: Erlang Questions <erlang-questions@REDACTED>
> Subject: Re: [erlang-questions] Protobuf library choosing?
> Message-ID:
>         <CAJ9ep=3g8XGUmFQ5zwsLC6N5MsnK2fG0n=
> twuOQztY-Toge_4g@REDACTED>
> Content-Type: text/plain; charset="utf-8"
>
> it must be basho erlang_protobuff,i use it in all my company's game, it is
> good and stable
>
> On Monday, December 1, 2014, ??? <yueyoum@REDACTED> wrote:
> >
> > There is two libraries for using protobuf in erlang:
> >
> >
> > https://github.com/basho/erlang_protobuffs
> >
> > https://github.com/tomas-abrahamsson/gpb
> >
> >
> > Which one is easy to use?
> >
> >
> > In my simple test,  pgb is more easy to use,
> > but why erlang_protobuffs is more popular ?
> >
> > --
> > My GitHub
> > https://github.com/yueyoum
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://erlang.org/pipermail/erlang-questions/attachments/20141201/62519514/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Mon, 1 Dec 2014 13:49:31 +0800
> From: ??? <yueyoum@REDACTED>
> To: Yang Liu <liuyang124846@REDACTED>
> Cc: Erlang Questions <erlang-questions@REDACTED>
> Subject: Re: [erlang-questions] Protobuf library choosing?
> Message-ID:
>         <CALZWPGjv-BJ9HPkJpok1d3gRYGapfVh__7MHY=
> 8aaBVtYXKd4g@REDACTED>
> Content-Type: text/plain; charset="utf-8"
>
> gpb auto cover messages to erlang record,
> gpb encode_msg encode record to binary,  decode_msg decode binary to record
> this is very convenient.
>
> So, erlang_protobuff can do this?
>
> 2014-12-01 13:41 GMT+08:00 Yang Liu <liuyang124846@REDACTED>:
>
> > it must be basho erlang_protobuff,i use it in all my company's game, it
> is
> > good and stable
> >
> >
> > On Monday, December 1, 2014, ??? <yueyoum@REDACTED> wrote:
> > >
> > > There is two libraries for using protobuf in erlang:
> > >
> > >
> > > https://github.com/basho/erlang_protobuffs
> > >
> > > https://github.com/tomas-abrahamsson/gpb
> > >
> > >
> > > Which one is easy to use?
> > >
> > >
> > > In my simple test,  pgb is more easy to use,
> > > but why erlang_protobuffs is more popular ?
> > >
> > > --
> > > My GitHub
> > > https://github.com/yueyoum
> > >
> > >
> >
>
>
>
> --
> My GitHub
> https://github.com/yueyoum
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://erlang.org/pipermail/erlang-questions/attachments/20141201/33b4486f/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 5
> Date: Mon, 1 Dec 2014 13:35:50 +0800
> From: ly <liuyang124846@REDACTED>
> To: ??? <yueyoum@REDACTED>
> Cc: Erlang Questions <erlang-questions@REDACTED>
> Subject: Re: [erlang-questions] Protobuf library choosing?
> Message-ID: <C76F943B-1888-4A0C-A8D2-975871C3853E@REDACTED>
> Content-Type: text/plain; charset="gb2312"
>
> it must be bash's erlang_protobuffs, i use it in all games in my
> company,it is really good and stable.
> ? 2014-12-1???1:25???? <yueyoum@REDACTED> ???
>
> >
> > There is two libraries for using protobuf in erlang:
> >
> >
> > https://github.com/basho/erlang_protobuffs
> >
> > https://github.com/tomas-abrahamsson/gpb
> >
> >
> > Which one is easy to use?
> >
> >
> > In my simple test,  pgb is more easy to use,
> > but why erlang_protobuffs is more popular ?
> >
> > --
> > My GitHub
> > https://github.com/yueyoum
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141201/7e9f11fd/attachment.htm>


More information about the erlang-questions mailing list