你好,游客 登录 注册 搜索
背景:
阅读新闻

JRuby 1.7.0 发布,默认使用 Ruby 1.9 模式

[日期:2012-10-23] 来源:oschina.net  作者:Linux [字体:大 中 小]

JRuby 1.7.0 发布,从该版本开始, JRuby 默认使用 Ruby 1.9 模式,兼容级别指向 Ruby 1.9.3. 我们知道还有一些 1.9 的特性尚未支持,例如 Ripper,但目前该版本已经足够稳定,可在产品环境中使用。接下来我们将每 2-3 周发布一个更新版本,直到完全支持 Ruby 1.9.

JRuby 1.7 是 JRuby 首个支持 JVM 新的 invokedynamic 指令的版本,你可在 Java 7 中启用 invokedynamic,但默认情况下该特性因为 JVM 的问题是禁用的。在 Java 8 中将默认启用,详情请看 http://wiki.jruby.org/PerformanceTuning

JRuby 1.7 的改进记录:

  • 1.9.3 is now our default runtime mode (–1.8 is needed for 1.8.7 support)
  • Ruby standard library updated to 1.9.3p286
  • Many 1.9.x compatibility fixes
  • Support for invokedynamic
  • Performance and concurrency improvements throughout
  • Java 5 support dropped (Java 6+ required)
  • All known 1.9 encoding issues resolved
  • Kernel#exec now does a true native exec on all platforms
  • Improvements and fixes to Java integration and embedding
  • Native features now better supported on Solaris, ARM Linux, and others
  • Update to Rubygems 1.8.24
  • Update to Rake 0.9.2.2

JRuby 的下载地址:请点这里

linux
相关资讯       JRuby 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款