{"id":65986,"date":"2018-12-25T21:32:15","date_gmt":"2018-12-25T12:32:15","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=65986"},"modified":"2018-12-25T21:32:15","modified_gmt":"2018-12-25T12:32:15","slug":"ruby-2-6-0-released","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/ruby-2-6-0-released\/","title":{"rendered":"Ruby 2.6.0\u6b63\u5f0f\u7248\u304c\u30ea\u30ea\u30fc\u30b9 - JIT\u306e\u30b5\u30dd\u30fc\u30c8\u306a\u3069\u65b0\u6a5f\u80fd\u591a\u6570"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/04\/Iruby-2.jpg\" alt=\"Ruby 2\" title=\"ruby 2.jpg\" border=\"0\" width=\"800\" height=\"600\" \/><\/p>\n<p>Ruby\u958b\u767a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f12\u670825\u65e5\u3001Ruby 2.6.0\u306e\u6b63\u5f0f\u7248\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.ruby-lang.org\/ja\/news\/2018\/12\/25\/ruby-2-6-0-released\/\">ruby-lang.org<\/a>)\u3002<\/p>\n<p>Ruby 2.6.0\u306f\u6bce\u5e7412\u670825\u65e5\u306b\u516c\u958b\u3055\u308c\u308bRuby\u306e\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u7248\u3067\u3001\u591a\u6570\u306e\u65b0\u6a5f\u80fd\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6539\u5584\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Ruby 2.6\u306e\u6ce8\u76ee\u306e\u65b0\u6a5f\u80fd\u3068\u3057\u3066\u306f\u3001JIT (Just-in-time)\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u5c0e\u5165\u304c\u3042\u3052\u3089\u308c\u3066\u3044\u307e\u3059\u3002JIT\u306f\u3042\u3089\u3086\u308bRuby\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u3092\u9ad8\u901f\u5316\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3001 \u4ed6\u8a00\u8a9e\u306e\u4e00\u822c\u7684\u306aJIT\u30b3\u30f3\u30d1\u30a4\u30e9\u3068\u7570\u306a\u308a\u3001C\u8a00\u8a9e\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304d\u3001\u901a\u5e38\u306eC\u30b3\u30f3\u30d1\u30a4\u30e9\u3092\u7528\u3044\u3066\u30cd\u30a4\u30c6\u30a3\u30d6\u30b3\u30fc\u30c9\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067JIT\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u884c\u3046\u3068\u3044\u3046\u624b\u6cd5\u304c\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>JIT\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\"--jit\"\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30aa\u30d7\u30b7\u30e7\u30f3\u3001\u307e\u305f\u306f$RUBYOPT\u74b0\u5883\u5909\u6570\u3092\u6307\u5b9a\u3057\u3001\u304b\u3064\u73fe\u6bb5\u968e\u3067\u306fGCC\u3001Clang\u3042\u308b\u3044\u306fMicrosoft VC++\u306b\u3088\u3063\u3066\u30d3\u30eb\u30c9\u3055\u308c\u305fRuby\u3068\u305d\u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u5b9f\u884c\u6642\u306b\u5229\u7528\u53ef\u80fd\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Ruby 2.6.0\u306e\u6642\u70b9\u3067Optcarrot\u3092\u7528\u3044\u305f\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u306b\u304a\u3044\u3066Ruby 2.5\u306e\u7d041.7\u500d\u306e\u6027\u80fd\u5411\u4e0a\u3092\u9054\u6210\u3057\u3066\u3044\u308b\u306e\u3068\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ed6AST(\u62bd\u8c61\u69cb\u6587\u6728)\u306e\u60c5\u5831\u3092\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308bRubyVM::AST\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u5c0e\u5165\u3084\u3001Kernel#yield_self\u306e\u5225\u540d\u3068\u3057\u3066then\u306e\u8ffd\u52a0\u3001ASCII\u4ee5\u5916\u306e\u5927\u6587\u5b57\u306b\u3088\u308b\u5b9a\u6570\u5b9a\u7fa9\u6a5f\u80fd\u306e\u8ffd\u52a0\u3001\u7d42\u7aef\u306a\u3057Range\u306e\u8ffd\u52a0\u3001Binding#source_location\u306e\u8ffd\u52a0\u3001FileUtils#cp_lr\u306e\u8ffd\u52a0\u3001$SAFE\u306e\u53d6\u308a\u6271\u3044\u306e\u5909\u66f4\u306b\u3068\u3082\u306a\u3046Proc#call\u306e\u9ad8\u901f\u5316\u3001block.call\u306e\u9ad8\u901f\u5316\u3001\u30d6\u30ed\u30c3\u30af\u547c\u3073\u51fa\u3057\u306e\u6539\u5584\u306a\u3069\u3092\u542b\u3080\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6539\u826f\u3001Unicode\u30d0\u30fc\u30b8\u30e7\u30f311\u306e\u30b5\u30dd\u30fc\u30c8\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u65b0\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5909\u66f4\u70b9\u306e\u8a73\u7d30\u306f<a href=\"https:\/\/github.com\/ruby\/ruby\/blob\/v2_6_0\/NEWS\">NEWS<\/a>\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"\/assets\/pc-301b359275e3cfd18baf480ee6dd6d484a27fdc417431ff7dd5cd26d895260b0.png\" alt=\"Pc\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>Ruby<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"http:\/\/www.ruby-lang.org\/ja\/\">http:\/\/www.ruby-lang.org\/ja\/<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/1964-ruby\">https:\/\/softantenna.com\/softwares\/1964-ruby<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Ruby\u958b\u767a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f12\u670825\u65e5\u3001Ruby 2.6.0\u306e\u6b63\u5f0f\u7248\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f(ruby-lang.org)\u3002 Ruby 2.6.0\u306f\u6bce\u5e7412\u670825\u65e5\u306b\u516c\u958b\u3055\u308c\u308bRuby\u306e\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u7248\u3067\u3001\u591a\u6570\u306e\u65b0\u6a5f [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":65987,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[154],"class_list":["post-65986","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-ruby"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/65986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=65986"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/65986\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/65987"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=65986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=65986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=65986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}