BOO与IronPython [英] BOO Vs IronPython

查看:136
本文介绍了BOO与IronPython的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IronPython BOO ?是否需要两种类似Python的语言?

What is the difference between IronPython and BOO? Is there a need for 2 Python-like languages?

推荐答案

IronPython 被设计为在.NET平台上忠实的Python实现。版本1的目标是兼容Python 2.4,版本2的目标是2.5版本(尽管不支持大多数用C实现的Python标准库模块)。

IronPython is designed to be a faithful implementation of Python on the .NET platform. Version 1 targets Python 2.4 for compatibility, and version 2 targets version 2.5 (although most of the Python standard library modules implemented in C aren't supported).

Boo 的既定目标是成为一种CLI的腕式友好[动态]语言。它从Python中获得了很多启发,但是在四个主要方面有所不同:

Boo's stated aim is to be a "wrist-friendly [dynamic] language for the CLI." It takes a lot of inspiration from Python, but diverges on four main points:


  1. 它是专门为充分利用.NET平台而设计的

  2. 设计者不同于Python语法,因为他不同意设计决策(最明显的是缺乏明确的自我)

  3. 语言是明确设计为腕式友好,即最大限度地减少了使用Shift键或其他多键组合的需要。

  4. Boo默认情况下是静态键入的,但是

  1. It's designed specifically to take good advantage of the .NET platform
  2. The designer diverges from Python syntax where he doesn't agree with the design decisions (most notably, lack of explicit self)
  3. The language is explicitly designed to be "wrist friendly" -- that is, to minimize the need for the Shift key or other multi-key combinations to be used.
  4. Boo is statically typed by default, but allows optional duck typing.

在实现/性能上还存在其他一些细微差别,但上述不同的设计目标应(IMO)告知您可以选择的语言。

There are some other minor differences in implementation/performance, but the divergent design goals above should (IMO) inform your choice of languages.

要考虑的两件事是成熟度和社区性。 Python比Boo更成熟,并且社区更大。 IronPython还拥有Microsoft的明确祝福。

Two more things to take into account are maturity and community. Python is much more mature than Boo, and has a much larger community. IronPython also has the explicit blessing of Microsoft.

这篇关于BOO与IronPython的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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