{"id":57448,"date":"2018-02-25T10:11:31","date_gmt":"2018-02-25T01:11:31","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=57448"},"modified":"2018-02-25T10:11:31","modified_gmt":"2018-02-25T01:11:31","slug":"ruby-2-6-0-preview1","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/ruby-2-6-0-preview1\/","title":{"rendered":"Ruby 2.6.0-preview1\u304c\u30ea\u30ea\u30fc\u30b9 - \u3042\u3089\u3086\u308bRuby\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u9ad8\u901f\u5316\u3059\u308bJIT\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u5c0e\u5165"},"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\u30c1\u30fc\u30e0\u306f2\u670824\u65e5\u3001\u6b21\u671f\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u7248Ruby 2.6.0\u306b\u5411\u3051\u305f\u6700\u521d\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u300cRuby 2.6.0-preview1\u300d\u3092\u516c\u958b\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.ruby-lang.org\/ja\/news\/2018\/02\/24\/ruby-2-6-0-preview1-released\/\">ruby-lang.org<\/a>)\u3002<\/p>\n<p>Ruby 2.6.0-preview1\u306f\u3001\u91cd\u8981\u306a\u65b0\u6a5f\u80fd\u3067\u3042\u308bJIT\u3092\u542b\u3080\u305f\u3081\u3001\u4f8b\u5e74\u3088\u308a\u3082\u65e9\u671f\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>Ruby 2.6\u3067\u5229\u7528\u53ef\u80fd\u3068\u306a\u308bJIT(Just-in-time)\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u3001\u3042\u3089\u3086\u308bRuby\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u3092\u9ad8\u901f\u5316\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u901a\u5e38\u306eJIT\u30b3\u30f3\u30d1\u30a4\u30e9\u3068\u7570\u306a\u308a\u3001C\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\u3092\u63a1\u7528\u3057\u3001--jit\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30aa\u30d7\u30b7\u30e7\u30f3\u3084$RUBYOPT\u74b0\u5883\u5909\u6570\u306b\u3088\u3063\u3066\u6709\u52b9\u306b\u3067\u304d\u307e\u3059\u3002\u73fe\u5728\u306e\u3068\u3053\u308dgcc\u307e\u305f\u306fclang\u306b\u3088\u3063\u3066\u30d3\u30eb\u30c9\u3055\u308c\u305fRuby\u3067\u3001\u305d\u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u5b9f\u884c\u6642\u306b\u5229\u7528\u53ef\u80fd\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u306e\u3053\u3068\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u3001Random.bytes\u3084Binding#source_location\u306e\u8ffd\u52a0\u306a\u3069\u65b0\u6a5f\u80fd\u306e\u8ffd\u52a0\u3084\u3001$SAFE\u306e\u53d6\u308a\u6271\u3044\u306e\u5909\u66f4\u306b\u3068\u3082\u306a\u3046Proc#call\u306e\u9ad8\u901f\u5316\u3084\u3001block.call\u306e\u9ad8\u901f\u5316\u3001\u30d6\u30ed\u30c3\u30af\u547c\u3073\u51fa\u3057\u306e\u6539\u5584\u306a\u3069\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6539\u826f\u3001\u7d30\u304b\u306a\u4fee\u6b63\u306a\u3069\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2018\/02\/Is_20180225_100726.jpg\" alt=\"S 20180225 100726\" title=\"s_20180225_100726.jpg\" border=\"0\" width=\"861\" height=\"549\" \/><\/p>\n<p>\u25b2Mac\u306erbenv\u3067\u554f\u984c\u7121\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u3002\"--jit\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>JIT\u30b3\u30f3\u30d1\u30a4\u30eb\u6a5f\u80fd\u306f\u73fe\u5728\u958b\u767a\u6bb5\u968e\u3067\u3001Rails\u306e\u3088\u3046\u306a\u5927\u304d\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3042\u307e\u308a\u52b9\u679c\u304c\u306a\u3044\u306a\u3069\u3001\u5236\u9650\u304c\u3042\u308b\u305d\u3046\u3067\u3059\u304c\u3001\u4eca\u5f8c\u306e\u767a\u5c55\u306b\u671f\u5f85\u3067\u304d\u305d\u3046\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\u30c1\u30fc\u30e0\u306f2\u670824\u65e5\u3001\u6b21\u671f\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u7248Ruby 2.6.0\u306b\u5411\u3051\u305f\u6700\u521d\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u300cRuby 2.6.0-preview1\u300d\u3092\u516c\u958b\u3057\u307e\u3057\u305f(ruby-lang.org)\u3002 Ruby 2.6.0- [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":37835,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[154],"class_list":["post-57448","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\/57448","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=57448"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/57448\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/37835"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=57448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=57448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=57448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}