3 ms·
This has been around since the early 90s or previous. ONC-RPCs did this where you define the interface file and it generates the client and server stubs for you
by remote_phone 7y ago
This has been around since the early 90s or previous. ONC-RPCs did this where you define the interface file and it generates the client and server stubs for you.
NFS is based on this, as with other services. Conceptually it’s exactly the same, with some underlying differences.
- majewsky 7y agoGoing even further back in history, ASN.1 is also like this. It's a description language for data structures, and there are separate representations that can be derived from them. It's sort of like JSON, JSON Schema and Protobuf in one. TLS certs are encoded in ASN.1 DER, for instance, and LDAP messages are encoded in ASN.1 BER.