{"id":207394,"date":"2013-12-26T09:16:03","date_gmt":"2013-12-26T05:16:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=207394"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=207394","title":{"rendered":"<span class=\"post_title\">\u0412\u044b\u0448\u0435\u043b Ruby 2.1<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/8d8\/960\/eef\/8d8960eef81ecadee81d3d52c0fd3c3f.png\" align=\"right\"\/>\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 Ruby \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 <a href=\"https:\/\/www.ruby-lang.org\/ru\/news\/2013\/12\/20\/ruby-2-1-0-rc1-is-released\/\">2.1.0<\/a>. \u0412 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439. \u0412 <a href=\"http:\/\/www.isrubyfastyet.com\/\">\u043d\u0435\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430\u0445<\/a> \u043d\u0430 Rails \u0432\u0435\u0440\u0441\u0438\u044f 2.1 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 20% \u0432\u044b\u0448\u0435, \u0447\u0435\u043c 2.0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043d\u0430 60-70% \u0431\u044b\u0441\u0442\u0440\u0435\u0435 1.9.3.<\/p>\n<p>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435, \u0441\u0430\u043c\u044b\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445:  <\/p>\n<ul>\n<li>VM (\u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432)<\/li>\n<li>\u043d\u043e\u0432\u044b\u0439 \u0441\u0431\u043e\u0440\u0449\u0438\u043a \u043c\u0443\u0441\u043e\u0440\u0430 RGenGC (\u0441\u043c. \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e ko1 <a href=\"http:\/\/rubykaigi.org\/2013\/talk\/S73\">\u043d\u0430 RubyKaigi<\/a> \u0438 <a href=\"http:\/\/www.atdot.net\/~ko1\/activities\/rubyconf2013-ko1_pub.pdf\">\u043d\u0430 RubyConf 2013<\/a>)<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0435<br \/> \n<ul>\n<li>\u043d\u043e\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0440\u043e\u0431\u0435\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0432\u0443\u0445 \u0441\u043b\u044d\u0448\u0435\u0439 (&quot;\/\/&quot;) \u043c\u0435\u0436\u0434\u0443 \u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u0435\u043c \u0438 \u0437\u043d\u0430\u043c\u0435\u043d\u0430\u0442\u0435\u043b\u0435\u0439, \u0441\u043c. <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8430\">#8430<\/a><\/li>\n<li>\u043d\u043e\u0432\u044b\u0435 \u0441\u0443\u0444\u0444\u0438\u043a\u0441\u044b i, r \u0438 ri \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0445 \u0438 \u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b.<\/li>\n<li>\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 def \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b \u0435\u0451 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0432\u043c\u0435\u0441\u0442\u043e nil, \u0441\u043c. <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/3753\">#3753<\/a><\/li>\n<\/ul>\n<p>   <\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<ul>\n<li>\u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8481\">#8481<\/a> <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8571\">#8571<\/a><\/li>\n<li>Bignum<br \/> \n<ul>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 GMP (GNU Multiple Precision Arithmetic Library) \u0434\u043b\u044f \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043d\u0430\u0434 \u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0447\u0438\u0441\u043b\u0430\u043c\u0438, \u0441\u043c. <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8796\">#8796<\/a><\/li>\n<\/ul>\n<p>   <\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043c\u0435\u0442\u043e\u0434 Array#to_h \u2014 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0445\u044d\u0448\u0430 \u0438\u0437 \u043c\u0430\u0441\u0441\u0438\u0432\u0430<\/li>\n<li>String#scrub <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8414\">#8414<\/a><\/li>\n<li>Socket.getifaddrs <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8368\">#8368<\/a><\/li>\n<li>RDoc 4.1.0 \u0438 RubyGems 2.2.0<\/li>\n<li>\u201cliteral\u201d.freeze \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/9042\">#9042<\/a><\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d Exception#cause <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8257\">#8257<\/a><\/li>\n<li>\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 JSON, NKF, rake, RubyGems, \u0438 RDoc.<\/li>\n<li>\u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 curses. <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8584\">#8584<\/a><\/li>\n<\/ul>\n<p>  Ruby \u2014 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u044f\u0437\u044b\u043a \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0438 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u042e\u043a\u0438\u0445\u0438\u0440\u043e \u041c\u0430\u0446\u0443\u043c\u043e\u0442\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043b\u0443\u0447\u0448\u0438\u0435 \u0447\u0435\u0440\u0442\u044b \u0441\u0432\u043e\u0438\u0445 \u043b\u044e\u0431\u0438\u043c\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 Perl, Python, Smalltalk, Eiffel, Ada \u0438 Lisp \u0432 \u043f\u043e\u0438\u0441\u043a\u0430\u0445 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0433\u043e \u0431\u0430\u043b\u0430\u043d\u0441\u0430 \u043c\u0435\u0436\u0434\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u0438\u043c\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c. \u0426\u0435\u043b\u044c\u044e \u0431\u044b\u043b\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u044f\u0437\u044b\u043a\u0430, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u043e\u0433\u043e, \u0447\u0435\u043c Perl, \u0438 \u0431\u043e\u043b\u0435\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e, \u0447\u0435\u043c Python. \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 Ruby \u2014 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0438 \u0432 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0433\u0434\u0435 \u0432\u0430\u0436\u043d\u0430 \u043d\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0430 \u043c\u0430\u043b\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430.<\/p>\n<p>  \u041c\u0430\u0446\u0443\u043c\u043e\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 Ruby \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440, \u0438 \u0432\u0435\u0440\u0441\u0438\u044f 2.1.0 \u2014 \u044d\u0442\u043e \u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0435\u043d\u0441\u043a\u0438\u0439 \u043f\u043e\u0434\u0430\u0440\u043e\u043a \u0432\u0441\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c.<\/p>\n<p>  \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 2.1.0 \u0441\u043c. <a href=\"https:\/\/github.com\/ruby\/ruby\/blob\/v2_1_0\/NEWS\">\u0437\u0434\u0435\u0441\u044c<\/a>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u0438 <a href=\"http:\/\/www.atdot.net\/~ko1\/activities\/toruby05-ko1.pdf\">\u201cAll about Ruby 2.1\u201d<\/a>.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/207394\/\"> http:\/\/habrahabr.ru\/post\/207394\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/8d8\/960\/eef\/8d8960eef81ecadee81d3d52c0fd3c3f.png\" align=\"right\"\/>\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 Ruby \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 <a href=\"https:\/\/www.ruby-lang.org\/ru\/news\/2013\/12\/20\/ruby-2-1-0-rc1-is-released\/\">2.1.0<\/a>. \u0412 \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439. \u0412 <a href=\"http:\/\/www.isrubyfastyet.com\/\">\u043d\u0435\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430\u0445<\/a> \u043d\u0430 Rails \u0432\u0435\u0440\u0441\u0438\u044f 2.1 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 20% \u0432\u044b\u0448\u0435, \u0447\u0435\u043c 2.0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043d\u0430 60-70% \u0431\u044b\u0441\u0442\u0440\u0435\u0435 1.9.3.<\/p>\n<p>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435, \u0441\u0430\u043c\u044b\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445:  <\/p>\n<ul>\n<li>VM (\u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432)<\/li>\n<li>\u043d\u043e\u0432\u044b\u0439 \u0441\u0431\u043e\u0440\u0449\u0438\u043a \u043c\u0443\u0441\u043e\u0440\u0430 RGenGC (\u0441\u043c. \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e ko1 <a href=\"http:\/\/rubykaigi.org\/2013\/talk\/S73\">\u043d\u0430 RubyKaigi<\/a> \u0438 <a href=\"http:\/\/www.atdot.net\/~ko1\/activities\/rubyconf2013-ko1_pub.pdf\">\u043d\u0430 RubyConf 2013<\/a>)<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0435<br \/> \n<ul>\n<li>\u043d\u043e\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u0440\u043e\u0431\u0435\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0432\u0443\u0445 \u0441\u043b\u044d\u0448\u0435\u0439 (&quot;\/\/&quot;) \u043c\u0435\u0436\u0434\u0443 \u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u0435\u043c \u0438 \u0437\u043d\u0430\u043c\u0435\u043d\u0430\u0442\u0435\u043b\u0435\u0439, \u0441\u043c. <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/8430\">#8430<\/a><\/li>\n<li>\u043d\u043e\u0432\u044b\u0435 \u0441\u0443\u0444\u0444\u0438\u043a\u0441\u044b i, r \u0438 ri \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0445 \u0438 \u0440\u0430\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b.<\/li>\n<li>\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 def \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b \u0435\u0451 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0432\u043c\u0435\u0441\u0442\u043e nil, \u0441\u043c. <a href=\"https:\/\/bugs.ruby-lang.org\/issues\/3753\">#3753<\/a><\/li>\n<\/ul>\n<p>   <\/li>\n<\/ul>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-207394","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/207394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207394"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/207394\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}