Article View: cn.bbs.comp.lang.java
Article #219JDK7֧�ֶ�̬���ͻ�
From: ŮȨ����ػ���α�ػ�
Date: Wed, 29 Jul 2009 06:48
Date: Wed, 29 Jul 2009 06:48
18 lines
2163 bytes
2163 bytes
http://java.sun.com/developer/technicalArticles/DynTypeLang/index.html With the addition of support for JSR 292 in JDK 7, dynamically typed languages should run faster in the JVM than they do today. A key part of this support is the addition of a new Java bytecode, invokedynamic, for method invocation, and an accompanying linkage mechanism that involves a new construct called a method handle. These features enable implementers of compilers for dynamically typed languages, that is, the people who develop compilers for languages such as JRuby and Jython, to generate bytecode that runs extremely fast in the JVM. This should increase the variety and quality of dynamically typed languages that run in the JVM. Application developers should see more of their favorite dynamically typed languages available in the Java ecosystem. Also, these features should boost the performance of code generated by dynamically typed language compilers that already run in the JVM. For example, the JRuby compiler generates bytecode that performs well in the JVM, but the JRuby bytecode will run even faster when the JRuby compiler is modified to use the invokedynamic bytecode and method handles. �ڰ�����ջ��Ȼ���Եֿ�! -- Got holes in my new jeans for you Got pink and black and blue for you-ooo... http://b.fanfou.com/u/xeen/s.png [1;32m�� ��Դ:�������ʵBBS http://bbs.tju.edu.cn [FROM: 202.113.13.188][m
Technical Details
Message-ID:
<4hCJUD$A8M@bbs.tju.edu.cn>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.netfront.net!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.byr.edu.cn!TJUShow Full Headers
Complete Article Headers
X-Google-Thread: d1247dbd28,47885654eca6af2a,start X-Google-Attributes: gidd1247dbd28,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,GB Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news.netfront.net!newsgate.cuhk.edu.hk!news.neu.edu.cn!news.byr.edu.cn!TJU From: xeen.bbs@bbs.tju.edu.cn.no.spam (ŮȨ����ػ���α�ػ�) Newsgroups: cn.bbs.comp.lang.java Subject: JDK7֧�ֶ�̬���ͻ� Date: 29 Jul 2009 06:48:13 GMT Organization: �����ʵBBSվ Message-ID: <4hCJUD$A8M@bbs.tju.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1248850093.A