This topic describes the differences between SDKs of the earlier version and SDKs of the latest version that are provided in OpenAPI Explorer of Alibaba Cloud.
Item | Darabonba SDK(V2.0) | Classic SDK(V1.0) |
Generation method | SDKs for different programming languages are generated based on different templates. The features encapsulated in the SDKs vary with the programming language. Therefore, you have different user experience with SDKs for different programming languages. | SDKs are generated based on the domain-specific language (DSL) Darabonba. Darabonba serves as an intermediary to generate SDKs for different programming languages and automatically verify syntaxes. This provides consistent user experience when you use SDKs for different programming languages. |
Supported languages | For most Alibaba Cloud services, only SDKs for up to three mainstream programming languages are provided. | SDKs for eight mainstream programming languages are provided. |
Extended support for more languages | It is difficult to generate SDKs for more programming languages because SDKs are generated based on templates. | SDKs for more programming languages can be easily generated by developing abstract syntax trees (ASTs) in Darabonba. |
SDK samples | The sample code for different programming languages differs from each other. The correctness of the sample code cannot be ensured. | The sample code for different programming languages is written in an intermediate language based on the same logic. All the sample code is verified to ensure correctness. |
SDK samples for specific scenarios | SDK samples for specific scenarios are difficult to write. Only a few services provide SDK samples for specific scenarios in a limited number of programming languages. | DSL makes it easy to generate SDK samples for specific scenarios in different programming languages. This helps you efficiently learn how to use the SDKs. For more information, see SDK sample center. |