- 论坛徽章:
- 2
|
Ruby 2.1 正式版发布了,下载地址:http://ftp.ruby-lang.org/pub/ruby/2.1/
Ruby 2.1 包含很多改进,包括性能的提升,同时兼容老版本。与 Ruby 2.0 比较改进包括:
VM (method cache)
RGenGC (See ko1’s RubyKaigi presentation and RubyConf 2013 presentation)
refinements #8481 #8571
syntax changes
Decimal/Complex Literal #8430
def’s return value #3753
Bignum
use GMP #8796
String#scrub #8414
Socket.getifaddrs #8368
RDoc 4.1.0 and RubyGems 2.2.0
“literal”.freeze is now optimized #9042
add Exception#cause #8257
update libraries like BigDecimal, JSON, NKF, Rake, RubyGems, and RDoc
remove curses #8584
详情请看: NEWS in Ruby repository.
转载自:开源中国社区
本文来自ChinaUnix新闻频道,如果查看原文请点:http://news.chinaunix.net/opensource/2013/1226/3053471.shtml
|
|