What is ASN.1 and it's pros/cons? -


i looking generic, strict , platform independent serialization framework. , discovered called asn.1.

it looks related serialization, couldn't understand is. read wikipedia article , itu article still, it's hard know.

i have many questions. maybe need overall differential description of asn.1.

  • what asn.1?
  • does define strict datatypes? (such 32-bit integer, 1-bit boolean, etc.)
  • is there reference implementation in c/c++?
  • why doesn't popular apache thrift, protocol buffers or other serialization stuffs?
  • what's pros/cons of asn.1 when compared other serialization frameworks?

1) it's serialization standard defined iso.

2) yes, although smallest space value occupy (afaik) 5 bits.

3) don't know of full one, although i'm not claiming knowing.

4) hard answer in neutral way, far i've experienced complexity, getting close full implementation hard.

5) see 4. asn.1 space efficient (protobuf may give run money) seem complex compared other serialization methods. in end, complexity loses (as "pay read specifications" do)


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -