• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

IronPython1.0ReleaseCandidate(转贴(据说比c实现的快1.5!))

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

IronPython 1.0 Release Candidate

One of the great features of the .NET framework is the Common Language Infrastructure (CLI).  The CLI provides a common foundation for a wide variety of programming languages. 

 

IronPython is a project that implements the dynamic object-oriented Python language on top of the CLI.  IronPython is both well integrated with the .NET Framework and is a true implementation of the Python language.  .NET integration means that this rich programming framework is available to Python developers and that they can interoperate with other .NET languages and tools.  All of Python’s dynamic features like an interactive interpreter, dynamically modifying objects and even metaclasses are available.  IronPython also leverages the CLI to achieve good performance, running up to 1.5x faster than the standard C-based Python implementation on the standard Pystone benchmark.

 

Today we shipped the release candidate for IronPython 1.0 on CodePlex.   The download also includes a tutorial which gives .NET programmers a great way to get started with Python and Python programmers a great way to get started with .NET.  The interactive interpreter provides an excellent way to quickly experiment with .NET libraries, e.g. here’s a quick example of creating a window (which I recommend you try from the tutorial):

 

>>> from winforms import *

>>> f = Form()

>>> f.Show()

 

In addition, it’s exciting to see that the Visual Studio SDK team has used the IronPython project as a chance to show language developers how they can build support for their language into Visual Studio.  They have created a sample, with source, that shows some of the basics required for integrating into the IDE including the project system, debugger, interactive console, IntelliSense and even the Windows forms designer.  The source for the sample is included with the Visual Studio SDK.  More information can be found in Aaron’s blog.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
c++函数后面有个const发布时间:2022-07-18
下一篇:
C#取调用堆栈StackTrace发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap