BOO Vs IronPython
Asked Answered
C

4

16

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

Cirenaica answered 1/3, 2009 at 21:17 Comment(3)
IronPython is not a Python-like language. It is the Python language, albeit a reimplementation.Succursal
Boo was an officially supported language in Unity 3D up until version 5. Now it's deprecated but you can still use it in version 5 (and maybe beyond, too... only time will tell.) IronPython never was, and probably never will be. That's the reason I use one (Boo) and not the other.Mausoleum
Does this answer your question? Boo vs. IronPythonHushhush
W
18

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'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. 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.

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

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.

Wageworker answered 2/3, 2009 at 2:41 Comment(0)
S
11

IronPython is a python implementation wheras Boo is another language with a python-esque syntax. One major difference is that Boo is statically typed by default.

I'm sure there are more differences, I've only looked at Boo briefly, but I've been meaning to look at bit deeper (so many languages so little time!).

Here is a list of Boo gotchas for python programmers which sums up the differences quite nicely:

Stoneblind answered 1/3, 2009 at 21:22 Comment(0)
S
3

IronPython is Python. Boo looks like Python.

They have different goals and while IronPython aims to be just like Python, Boo does not. Boo is not worried about compatibility with Python like IronPython is...

Subdelirium answered 1/3, 2009 at 21:30 Comment(0)
H
1

In a nutshell, Boo's claim to fame is that it is supposed to give you most of the benefits of Python's elegant, terse syntax and very high-level abstractions, but without sacrificing (most) of the speed advantages of a statically typed language like C#.

Henton answered 11/4, 2010 at 16:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.