jm + i14y   2

Use of an opaque binary class in a public iOS API causes problems
"Apple changing the behavior of `NSData -description` in iOS 13 could break push notification registration for thousands of apps. Beyond the immediate concern for existing apps, this is an interesting case study in how to handle long-standing, widespread misuse of an API."

This is messy. Not a good API design decision from Apple
apple  ios  push-notifications  apis  api  coding  interoperability  i14y 
29 days ago by jm
Cap'n Proto
Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster. In fact, in benchmarks, Cap’n Proto is INFINITY TIMES faster than Protocol Buffers.


Basically, marshalling like writing an aligned C struct to the wire, QNX messaging protocol-style. Wasteful on space, but responds to this by suggesting compression (which is a fair point tbh). C++-only for now. I'm not seeing the same kind of support for optional data that protobufs has though. Overall I'm worried there's some useful features being omitted here...
serialization  formats  protobufs  capn-proto  protocols  coding  c++  rpc  qnx  messaging  compression  compatibility  interoperability  i14y 
april 2013 by jm

Copy this bookmark:



description:


tags: