Re:Smithy: A language for defining services and SDKs
by scrubs on Saturday May 08, 2021 @02:09PM
(#27089431)
I gather the impact of Smithy is to generate something like an old style CORBA client/server stubs and vocabulary types for a given serialization, and communication schema (HTTP2, gRPC) in a target language? Is Smithy specific to interoperating with AWS services or can used in pretty much any distributed system?
Re:Smithy: A language for defining services and SDKs
by mtdowling on Saturday May 08, 2021 @02:26PM
(#27089568)
Pretty much, but Smithy can be used for anything and isn’t specific to AWS. The AWS modeling support in Smithy is all through extensions that aren’t part of the core.
It’s also protocol agnostic and can be used in a lot of applications (HTTP, MQTT, and we are even experimenting using Smithy to generate C ABI bindings for non client server stuff).
Re:Smithy: A language for defining services and SDKs
by oblio on Saturday May 08, 2021 @06:54AM
(#27085917)
Python?
Re:Smithy: A language for defining services and SDKs
by stevesimmons on Saturday May 08, 2021 @07:09AM
(#27086014)
Python with interoperability with FastAPI and Pydantic models would be fantastic
We're working to get projects like these to GA: https://github.com/awslabs/smithy-typescript, https://github.com/aws/smithy-go, and https://github.com/awslabs/smithy-rs. And we're also working on service code generation.