惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
Recent Announcements
Recent Announcements
B
Blog
D
Docker
V
V2EX
GbyAI
GbyAI
L
LangChain Blog
博客园 - Franky
U
Unit 42
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
博客园_首页
D
DataBreaches.Net
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
量子位
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客

博客园 - 吴尔平

gtest 的彩色信息输出 + boost.test 的内存泄漏检测及定位 在低版本的 vc 中使用 vc 10.0 的新特性 使用另一个blog: http://blog.csdn.net/WuErPing scons + swig 如何在 vista 使用 Device Emulator 连接internet vc9 Feature Pack Beta tr1 的一些问题 NSIS Kill Process (转贴) C#与一个彩票页面 - 吴尔平 - 博客园 py2exe 转换 pytetris - 吴尔平 关于模板化的friend class C# 的 random shuffle python 读取 windows event log 的简短代码 Visual Studio Service Pack (转贴) The 16th Annual Jolt Product Excellence Award Winners (转贴) C++/CLI FAQ (逐步整理中) C++/CLI singleton模式 (双重检测锁实现) 如何在 VS2005 的 Team Unit Testing frameworks 中测试 Native Code (C++ ) 2005 CRT memory leaks 改变 SQL Server 2000 所有对象的所有者
IronPython 1.0 Release Candidate (转贴 ( 据说比c实现的快...
吴尔平 · 2006-07-28 · via 博客园 - 吴尔平

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.