Reprinted-ironpython Getting Started: What is ironpython?

Source: Internet
Author: User
Tags hosting
Document directory
  • Ironpython entry: What is ironpython?
  • Ironpython entry: What is ironpython?
  • Http://developer.51cto.com Kang Kai compiled 51cto.com I want to comment (0)
    This article briefly introduces ironpython, describes the background of ironpython, and some introduction to. NET Dynamic Language Runtime. To put it simply, ironpython is the combination of an elegant Python programming language and a powerful. NET platform.

    [51cto] If you know what python is, you can probably think about ironpython. This article will give you a detailed introduction to ironpython and answer some questions you may be interested in. The topics covered in this article include:

    ◆ Ironpython and Dynamic Language Runtime Introduction

    ◆ Interactive Interpreter

    ◆ Integration with the universal language runtime platform (CLR)

    In particular, the interactive interpreter is very helpful for learning ironpython and exploring the. NET Framework. In this article, we will use an interactive interpreter to test how ironpython integrates with the. NET Framework and learn the skills related to this powerful tool. (If you want to know the Python language first, we recommend that you take a look at the python topic of 51cto .)

    I. Origins of ironpython

    You may ask: What is ironpython? To put it simply, ironpython is the combination of an elegant Python programming language and a powerful. NET platform. So where does it come from? Jim hugunin is the author of ironpython, but he didn't plan to create the ironpython language at first. Here is a little story about why he created the new dynamic language later. At the beginning, Jim hugunin learned through reading numerous CLR reports on the Internet that CLR is an extremely bad platform for dynamic languages, especially python. According to his statement, "ironpython was initially launched as a series of rapid prototypes. Its original intention was to help me understand how bad the platform was. My plan is to write a concise paper named "Why CLR is a terrible Dynamic Language Platform ". Later, the prototype was running very well. Generally, they were much faster than the python implementation based on standard C, so the original plan was also disrupted ."

    Later, Jim converted these initial prototypes into a complete Python implementation and named it ironpython. Later, Jim joined Microsoft's CLR Architecture Team and jointly developed a universal language running platform for multiple languages. The Dynamic Language Team of the team developed ironpython and released it as an open source software (click to visit the ironpython official website ).

    Ii. Dynamic Language Runtime

    The Microsoft Dynamic Language team that created ironpython version 1 has created a dynamic language hosting framework with complete type system and compiler support, they extract part of the framework from the dynamic language runtime and create ironpython version 2 at the top of the DLR.

    DLR provides the following:

    ◆ Create a dynamic language framework

    ◆ Interoperability between various languages (static language and Dynamic Language)

    ◆ DLR will become part of C #/. Net 4

    ◆ DLR language:

    ◇ Oironpython (Microsoft)

    ◇ Oironruby (Microsoft)

    ◇ Ironscheme... (codeplex)

    ◆ Host APIs that can be used in C # and Visual Basic. Net (VB. NET ).

    In addition, you can build various Community languages on top of DLR, such as ironscheme, Nua, and remobjects.

    To support dynamic keywords in C #4.0, all parts of DLR are included in. Net 4.0. NET Framework. From the perspective of ironpython users, the most important part of DLR is the hosting API.

    3. What is ironpython?

    What is ironpython? To put it simply, ironpython is the combination of an elegant Python programming language and a powerful. NET platform.

    ◆ Ironpython is a python Compiler

    ◆ Open-source implementation of a popular open-source Programming Language

    ◆ Run on. NET and mono

    ◆ A Microsoft team is still developing it

    ◆ To be compatible with Python 2.6, version 2.6 is built on Dynamic Language Runtime

    ◆ Running on Silverlight

    Ironpython is a popular programming language. Microsoft is very concerned about ironpython and dynamic languages of. NET Framework. Microsoft has provided ironpython support in various projects.

    Ironpython has been well integrated into. NET Framework. Strings in Python correspond to. Net string objects, and corresponding methods in Python are also provided in ironpython. The same applies to other data types.

    The ironpython 2.6 RC version has been released in the hotspot Weekly Report of 51cto two weeks ago. As described above, ironpython 2.6 will be fully compatible with cpython 2.6.

    For more information about ironpython, see here. For more information about the interactive interpreter and integration with the universal language runtime platform (CLR), the next part of this article will be a brief introduction.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.