Live data from Hacker News

Smithy: A language for defining services and SDKs

awslabs.github.io

21–30 of 77 posts

Re: Smithy: A language for defining services and SDKs

#25

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

Protobuf and gRPC are great, and AWS will continue to make sure developers can be successful using them with AWS. I’ll try to explain how we ended up at Smithy instead of using other existing tools. We started working on Smithy around 2018 because we wanted to improve the scale of our API program and the AWS SDK team to deal with the growing number of services (over 250 now!) and languages we want to support in offic…

The history and origins help frame the Smithy use case for others and where it may not apply. Thanks for sharing!

Re: Smithy: A language for defining services and SDKs

#27
post #26

Couldn't find a way to generate models for Python - not sure if that is because it doesn't exist or I just cant find it. The code gen part seems a bit under documented.

No Python codegen yet. Our plan is basically that as we migrate AWS SDKs to Smithy, we'll also offer generic client generators too. The Python migration hasn't started yet.

Re: Smithy: A language for defining services and SDKs

#28

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

Protobuf and gRPC are great, and AWS will continue to make sure developers can be successful using them with AWS. I’ll try to explain how we ended up at Smithy instead of using other existing tools. We started working on Smithy around 2018 because we wanted to improve the scale of our API program and the AWS SDK team to deal with the growing number of services (over 250 now!) and languages we want to support in offic…

Does Smith support describing OAuth ?

Re: Smithy: A language for defining services and SDKs

#29
We've built a similar thing at https://www.protoforce.io, which auto-generates client and server side. It actually transpiles, parsing the models definitions and emits actual code with a bit of shared runtime.

Good amazon opened up their stuff, there should be more competition on this front.

Post reply on HN