Ruby 与 Python - 套接字库
我有一个需要使用低级套接字的概念(即:没有框架或包装器,只有大多数标准库中包含的标准发送/接收模式。
我熟悉 Ruby 和 Python 类似的套接字库,我想知道这两种语言是否有任何优势,无论是性能、稳定性、易用性还是其他方面。
,从我(有限的)经验来看,他们似乎有
I have a concept I'd like to work on that requires the use of low-level sockets (i.e.: no frameworks or wrappers, just the standard send/recv pattern included in most standard libraries.
I'm familiar with both Ruby and Python, and from my (limited) experience they seem to have similar socket libraries. What I'd like to know is if either language has any advantage, whether it be with performance, stability, ease-of-use or otherwise.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您更熟悉一种语言,它会满足您的需求。
What a language you know better, that'll fit your needs.
这两种语言都在底层操作系统套接字库之上提供了一个非常薄的包装器。你不会得到太大的区别。
Both language offer a very thin wrapper above the underlying OS socket library. You won't get much difference.