[HN Gopher] Smithy: A language for defining services and SDKs ___________________________________________________________________ Smithy: A language for defining services and SDKs Author : politician Score : 25 points Date : 2021-05-07 21:31 UTC (1 hours ago) (HTM) web link (awslabs.github.io) (TXT) w3m dump (awslabs.github.io) | peterthehacker wrote: | How does this compare to Google's protocol buffers? [0] It looks | like smithy has a broader set of applications. | | [0] https://developers.google.com/protocol-buffers | whalesalad wrote: | I gotta say this is really neat. Definitely going to take it for | a spin. I've always felt like a lot of these tools have too much | ceremony - this feels light and simple. | VWWHFSfQ wrote: | Is this how the Python `aws` CLI and boto is implemented? | mtdowling wrote: | Kind of. The AWS CLI uses an Amazon internal modeling format | used to define services that's based on another Amazon internal | modeling format that has been in use for about 15 years (and | it's based on another internal model etc..). Smithy is | basically the open source v2 of both, but with a public spec | and tooling. Eventually all the AWS SDKs and the AWS CLI will | adopt Smithy. (I work on the AWS SDKs and created Smithy) | Raesan wrote: | Pretty much all APIs at Amazon , internal and external, are | either defined using this or its precursor and then per- | language clients and server stub implementations are | autogenerated based on the model. That's true of boto3. Not | sure how much the of CLI is autogenerated, but the CLI uses | boto(core) under the hood so it's involved one way or the | other. | 1f60c wrote: | AWS' new Rust SDK[0] is generated using Smithy models. | | [0]: https://news.ycombinator.com/item?id=27080859 ___________________________________________________________________ (page generated 2021-05-07 23:00 UTC)