{"id":70261,"date":"2019-05-31T09:22:04","date_gmt":"2019-05-31T00:22:04","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=70261"},"modified":"2019-05-31T09:22:04","modified_gmt":"2019-05-31T00:22:04","slug":"ruby-2-7-0-preview1-released","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/ruby-2-7-0-preview1-released\/","title":{"rendered":"Ruby 2.7.0-preview1\u304c\u30ea\u30ea\u30fc\u30b9 - Compaction GC\u3084Pattern Matching\u306a\u3069\u591a\u6570\u306e\u6a5f\u80fd\u304c\u8ffd\u52a0"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/05\/s_20190531_90700.jpg\" alt=\"S 20190531 90700\" title=\"s_20190531_90700.jpg\" border=\"0\" width=\"925\" height=\"607\" \/><\/p>\n<p>Ruby\u958b\u767a\u30c1\u30fc\u30e0\u306f5\u670830\u65e5\u3001Ruby 2.7\u30b7\u30ea\u30fc\u30ba\u306e\u6700\u521d\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3068\u306a\u308b\u300cRuby 2.7.0-preview1\u300d\u3092\u516c\u958b\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.ruby-lang.org\/ja\/news\/2019\/05\/30\/ruby-2-7-0-preview1-released\/\">ruby-lang.org<\/a>)\u3002\u73fe\u5728\u516c\u5f0f\u30b5\u30a4\u30c8\u3088\u308a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u306f\u5e74\u672b\u306e\u6b63\u5f0f\u30ea\u30ea\u30fc\u30b9\u306b\u5411\u3051\u3001\u65b0\u6a5f\u80fd\u306e\u30c6\u30b9\u30c8\u3084\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u96c6\u3081\u308b\u305f\u3081\u306b\u63d0\u4f9b\u3055\u308c\u308b\u3082\u306e\u3067\u3001\u591a\u304f\u306e\u65b0\u3057\u3044\u6a5f\u80fd\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6539\u5584\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Ruby 2.7\u306e\u65b0\u6a5f\u80fd\u3068\u3057\u3066\u306f\u307e\u305a\u3001\u65ad\u7247\u5316\u3057\u305f\u30e1\u30e2\u30ea\u3092\u30c7\u30d5\u30e9\u30b0\u3059\u308bCompaction GC\u306e\u5c0e\u5165\u304c\u3042\u3052\u3089\u308c\u3066\u3044\u307e\u3059\u3002GC.compact\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u3001\u30d2\u30fc\u30d7\u3092\u30b3\u30f3\u30d1\u30af\u30b7\u30e7\u30f3\u3057\u3001\u30e1\u30e2\u30ea\u306e\u65ad\u7247\u5316\u306b\u3088\u308b\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u306e\u5897\u5927\u3084\u6027\u80fd\u306e\u52a3\u5316\u3092\u9632\u3050\u3053\u3068\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u95a2\u6570\u578b\u8a00\u8a9e\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b<a href=\"https:\/\/speakerdeck.com\/k_tsj\/pattern-matching-new-feature-in-ruby-2-dot-7\">\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1<\/a>\u3068\u547c\u3070\u308c\u308b\u6a5f\u80fd\u304c\u5b9f\u9a13\u7684\u6a5f\u80fd\u3068\u3057\u3066\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002\u6e21\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u69cb\u9020\u304c\u30d1\u30bf\u30fc\u30f3\u3068\u4e00\u81f4\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u3001\u4e00\u81f4\u3057\u305f\u5834\u5408\u306b\u305d\u306e\u5024\u3092\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u3068\u3044\u3063\u305f\u64cd\u4f5c\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>case JSON.parse('{...}', symbolize_names: true)\nin {name: \"Alice\", children: [{name: \"Bob\", age: age}]}\n  p age\n  ...\nend<\/pre>\n<p>\u305d\u306e\u4ed6\u3001Ruby\u306b\u6dfb\u4ed8\u3055\u308c\u3066\u3044\u308birb\u306e\u8907\u6570\u884c\u7de8\u96c6\u306e\u30b5\u30dd\u30fc\u30c8\u3084\u3001\u30e1\u30bd\u30c3\u30c9\u53c2\u7167\u6f14\u7b97\u5b50\".:\"\u306e\u8ffd\u52a0\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30ed\u30c3\u30af\u306e\u4eee\u5f15\u6570\u3068\u3057\u3066\u756a\u53f7\u6307\u5b9a\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8a66\u9a13\u7684\u5c0e\u5165\u3001\u958b\u59cb\u5024\u7701\u7565\u7bc4\u56f2\u5f0f\u306e\u8a66\u9a13\u7684\u5c0e\u5165\u3001\u5404\u8981\u7d20\u306e\u51fa\u73fe\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308bEnumerable#tally\u306e\u8ffd\u52a0\u3001<br \/>\nJIT\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6539\u826f\u306a\u3069\u3055\u307e\u3056\u307e\u306a\u65b0\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\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\u306f5\u670830\u65e5\u3001Ruby 2.7\u30b7\u30ea\u30fc\u30ba\u306e\u6700\u521d\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3068\u306a\u308b\u300cRuby 2.7.0-preview1\u300d\u3092\u516c\u958b\u3057\u307e\u3057\u305f(ruby-lang.org)\u3002\u73fe\u5728\u516c\u5f0f\u30b5\u30a4\u30c8\u3088\u308a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u53ef\u80fd\u3067 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":70262,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[154],"class_list":["post-70261","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\/70261","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=70261"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/70261\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/70262"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=70261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=70261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=70261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}