为什么云计算厂商倾向于提供 Go 的 API 封装而不是 Python 的?

2021-05-22 12:36:56 +08:00
 rv54ntjwfm3ug8
DigitalOcean 和 Vultr 官方都只提供了 Go 语言( DO 还有 Ruby )的 API 封装。为什么不是 Python ? Python 不是运维第一语言么?
5308 次点击
所在节点    Python
27 条回复
hoyixi
2021-05-22 20:52:22 +08:00
云 API 通常是通用的,官方提供的开箱即用的 SDK 有哪些语言看心情
echo1937
2021-05-22 21:54:36 +08:00
1 、说明这家公司用 Go 和 Ruby 的人多。
2 、说明这家公司业务还比较小,AWS 有 C++、Go 、Java 、JS 、.net 、nodejs 、php 、python 、ruby 。
datou
2021-05-22 22:08:34 +08:00
百度云就没有 golang sdk....
bthulu
2021-05-23 00:43:32 +08:00
因为云厂商里的开发人员用 go, 自然优先支持 go
yanzhiling2001
2021-05-23 07:59:41 +08:00
he Vultr API v2 is a set of HTTP endpoints that adhere to RESTful design principles and CRUD actions with predictable URIs. It uses standard HTTP response codes, authentication, and verbs. The API has consistent and well-formed JSON requests and responses with cursor-based pagination to simplify list handling. Error messages are descriptive and easy to understand. All functions of the Vultr customer portal are accessible via the API, enabling you to script complex unattended scenarios with any tool fluent in HTTP.
pzzrudlf
2021-05-23 16:29:09 +08:00
rust 转 go ?楼主认真的吗?
rv54ntjwfm3ug8
2021-05-23 17:35:59 +08:00
@pzzrudlf #26 Rust 目前用的人太少不好找工作(包括国外)

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/778518

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX