Boo vs. IronPython

后端 未结 7 857
情歌与酒
情歌与酒 2020-12-30 22:18

After having looked at each of these two projects, it seems that both are VERY similar. Both run on top of the CLI, both have python style syntax, both use .NET instead of t

7条回答
  •  旧时难觅i
    2020-12-30 22:33

    The main difference as I see it is that Boo is statically typed, meaning the type of a variable is inferred on its first assignment and is fixed from there - while IronPython has the "real" dynamic behaviour of normal Python code.

    IronPython is officially maintained by Microsoft now and targets the new Dynamic Language Runtime in version 2.0. I suspect because of it's statically typed nature Boo might be faster. I don't have much "real" experience with that though ...

    IronPython also reimplements lots of the python standard library so you can run lots of python software without change on IronPython (e.g. Django).

提交回复
热议问题