[erlang-questions] Protobuf library choosing?

Zhibo Wei <>
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, <> wrote:

>
> Message: 2
> Date: Mon, 1 Dec 2014 13:25:08 +0800
> From: ??? <>
> To: Erlang Questions <>
> Subject: [erlang-questions] Protobuf library choosing?
> Message-ID:
>         <CALZWPGhCr9u42FHngdOB9X5nQW88ZK2tRbrg=
> >
> 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 <>
> To: ??? <>
> Cc: Erlang Questions <>
> Subject: Re: [erlang-questions] Protobuf library choosing?
> Message-ID:
>         <CAJ9ep=3g8XGUmFQ5zwsLC6N5MsnK2fG0n=
> >
> 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, ??? <> 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: ??? <>
> To: Yang Liu <>
> Cc: Erlang Questions <>
> Subject: Re: [erlang-questions] Protobuf library choosing?
> Message-ID:
>         <CALZWPGjv-BJ9HPkJpok1d3gRYGapfVh__7MHY=
> >
> 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 <>:
>
> > 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, ??? <> 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 <>
> To: ??? <>
> Cc: Erlang Questions <>
> Subject: Re: [erlang-questions] Protobuf library choosing?
> Message-ID: <>
> 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???? <> ???
>
> >
> > 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
> > 
> > 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.html>


More information about the erlang-questions mailing list