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

推荐订阅源

雷峰网
雷峰网
WordPress大学
WordPress大学
MyScale Blog
MyScale Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
U
Unit 42
罗磊的独立博客
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
aimingoo的专栏
aimingoo的专栏
Vercel News
Vercel News
N
Netflix TechBlog - Medium
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
Hugging Face - Blog
Hugging Face - Blog
大猫的无限游戏
大猫的无限游戏
F
Fortinet All Blogs
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
小众软件
小众软件
博客园 - 【当耐特】
H
Help Net Security
The GitHub Blog
The GitHub Blog

博客园 - 吴尔平

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.