Python vs Groovy与Ruby? (根据问题列出的标准) [英] Python vs Groovy vs Ruby? (based on criteria listed in question)

查看:154
本文介绍了Python vs Groovy与Ruby? (根据问题列出的标准)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑到下面列出的标准,您会使用Python,Groovy或Ruby中的哪一个?

Considering the criteria listed below, which of Python, Groovy or Ruby would you use?


  • 标准(重要性超出10,10是最重要的)

  • 丰富的API /库可用(例如数学,绘图,网络) >能够嵌入桌面(Java / c ++)应用程序(8)
  • 易于部署(8)
  • 能够与DLLs / Shared图书馆(7)
  • 能够产生图形用户界面(7)

  • 社区/用户支持(6)
  • 可移植性(6)

  • 数据库操作(3)
  • 语言/语义(2)
  • Criteria (Importance out of 10, 10 being most important)
  • Richness of API/libraries available (eg. maths, plotting, networking) (9)
  • Ability to embed in desktop (java/c++) applications (8)
  • Ease of deployment (8)
  • Ability to interface with DLLs/Shared Libraries (7)
  • Ability to generate GUIs (7)
  • Community/User support (6)
  • Portability (6)
  • Database manipulation (3)
  • Language/Semantics (2)

推荐答案

我认为难以获得客观的比较。我个人比较喜欢Python。为了解决您的一个标准,Python从一开始就被设计为一种可嵌入的语言。它具有非常丰富的C API,并且解释器被模块化以便于从C调用。如果Java是您的主机环境,则应该查看Jython,它是Java环境内的Python实现(VM和libs)。

I think it's going to be difficult to get an objective comparison. I personally prefer Python. To address one of your criteria, Python was designed from the start to be an embeddable language. It has a very rich C API, and the interpreter is modularized to make it easy to call from C. If Java is your host environment, you should look at Jython, an implementation of Python inside the Java environment (VM and libs).

这篇关于Python vs Groovy与Ruby? (根据问题列出的标准)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆