Live data from Hacker News

Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

github.com

11–20 of 36 posts

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#11
post #9

why do we keep reinventing the wheel and not use asn.1?

The spec is too big, and it's too hard to implement correctly (let alone efficiently).

you are using it all the time without realizing it. http://www.marben-products.com/asn.1/market.html

protobuf, swift, etc happened when an advertising company thinks it is an engineering company

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#12

why do we keep reinventing the wheel and not use asn.1?

If you think asn.1 is the same as protocol buffers, you are missing the point.

Yes, asn.1 is the all signing, all dancing serialization framework. Protobuf's aren't. That isn't by accident.

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#13
post #9

Earlier quoted context omitted.

The spec is too big, and it's too hard to implement correctly (let alone efficiently).

you are using it all the time without realizing it. http://www.marben-products.com/asn.1/market.html protobuf, swift, etc happened when an advertising company thinks it is an engineering company

Perhaps they should do more marketing, because speaking as a C++ developer: I picked between protobufs, flatbuffers and capt'n proto because they were easy to use, had active communities, and they had websites which explained how and why I should use their compiler/library/protocol.

When I search the web for information about asn.1, I find very little that is of practical use. What library should I use? Why should I use it? How does it benchmark in comparison to the other tools? I've seen a few asn.1 library webpages and they all seem to take it as a given that I'm just looking for some way to deal with asn.1 data. They don't bother to try to convince me that their tool is efficient, or even that asn.1 is the right choice for my data in the first place.

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#14

Earlier quoted context omitted.

you are using it all the time without realizing it. http://www.marben-products.com/asn.1/market.html protobuf, swift, etc happened when an advertising company thinks it is an engineering company

Perhaps they should do more marketing, because speaking as a C++ developer: I picked between protobufs, flatbuffers and capt'n proto because they were easy to use, had active communities, and they had websites which explained how and why I should use their compiler/library/protocol. When I search the web for information about asn.1, I find very little that is of practical use. What library should I use? Why should I…

you are dismissing an old and proven technology because you feel it is not marketing to you effectively, which is the backend to the global telecom system (ss7) for the past two decades? why is this a movement in computer science to throw out old things that work? this is confusing to me like nosql. but "good marketing" is something that is called cap'n proto, sounds like a joke?

if you are curious here is a good blog post https://ttsiodras.github.io/asn1.html

i am working with asn.1 the protocol MMS

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#17
post #9

Earlier quoted context omitted.

The spec is too big, and it's too hard to implement correctly (let alone efficiently).

you are using it all the time without realizing it. http://www.marben-products.com/asn.1/market.html protobuf, swift, etc happened when an advertising company thinks it is an engineering company

ANS.1 is pretty popular for introducing bugs, Estonia recently had to bin hundreds of thousands of ID cards due to an encoding mistake.

Integers being encoded as signed is a nightmare for cryptography, which makes no use of them.

Re: Pyrobuf: A Cython Alternative to Google's Python Protobuf Library

#19

Earlier quoted context omitted.

Perhaps they should do more marketing, because speaking as a C++ developer: I picked between protobufs, flatbuffers and capt'n proto because they were easy to use, had active communities, and they had websites which explained how and why I should use their compiler/library/protocol. When I search the web for information about asn.1, I find very little that is of practical use. What library should I use? Why should I…

you are dismissing an old and proven technology because you feel it is not marketing to you effectively, which is the backend to the global telecom system (ss7) for the past two decades? why is this a movement in computer science to throw out old things that work? this is confusing to me like nosql. but "good marketing" is something that is called cap'n proto, sounds like a joke? if you are curious here is a good blo…

More broadly, he is talking about the community. That is what makes or breaks a technology today, and the community for asn.1 doesn't exist. It also lacks many of the features protobufs have, like versioning or associative map, not to mention it is ugly.
Post reply on HN