Ruby 2.0.0 ã®ãªãªã¼ã¹ã«åããæ´»åã«ã¤ãã¦ãæ¯é±ãããã®ãã¼ã¹ã§æ¸ããããªãã¨æã£ãã®ã§å§ãã¾ãã飽ãããããã¾ãã
ã¦ã¼ã¶è¦ç¹ã§é¢ç½ãããªæ©è½ãããªãªã¼ã¹ã«åããé²æã«ã¤ãã¦æ¸ãã¤ããã§ããã³ãããåä½ã®è©³ãããã¥ã¼ã¹ã¯ nagachika さんの ruby-trunk-changes ãè¦ãã¨ããã§ãã
Ruby 2.0 ã«ã¤ãã¦
Ruby 1.8 ã1.9 ã«ç¶ã Ruby ã®æ°ç³»çµ±ã§ãã
æ°ç³»çµ±ã¨ãã£ã¦ããRubyKaigi 2010 ã®éçºè
ä¼è°ã«ã¦ãã¾ã¤ãã¨ããããã100% äºæãã®ã¹ãã¼ã¬ã³ãçºè¡¨ããã¦ãã¾ãã®ã§ãååã¨ãã¦ä»æ§å¤æ´ã¯å
¥ããªãäºå®ã§ãã*1
ä»ã®ã¨ãã 2.0 ã«å
¥ããã¨ãçºè¡¨ããã¦ãã大ããã®æ°æ©è½ã¯ã
ã® 2 ç¹ã§ãã[ruby-core:39837]
ããããã®è©³ç´°ã¯ããã®ãã¡èª¬æãããã¨æãã¾ãã
ãªãªã¼ã¹ã¾ã§ã®ã¹ã±ã¸ã¥ã¼ã«
[ruby-dev:44691] ãã
* 2012/08/24: big-feature freeze "big feature" ã®æ¡å¦ã決ãã¦ã大ã¾ããªä»æ§ã決å®ãã¾ãã ãã®ç· ãåãã¾ã§ã«ã"big feature" ã®ææ¡è ã¯è°è«ãã¾ã¨ãã¦ã 大ã¾ããªä»æ§ã®çµè«ãåºããã¾ã¤ãã¨ããã®æ¿èªãå¾ã¦ãã ããã éã«åããªãã£ãææ¡ã¯è¦éãã«ãªãã¾ãã ä½ã "big feature" ããæ確ã«å®ç¾©ãããã¨ã¯é£ããã§ããã è¨èªæ©è½ (refinements ã keyword arguments) ããå®å®ãããã®ã« æéã®ããããããªæ©è½ (GC é¢ä¿ã Dtrace ãªã©) 㯠"big" 㨠èãããã¾ããä¾ãã°ã[ruby-core:39810] ã«æãã£ã¦ããæ©è½ã¯ å¤§ä½ "big" ã ã¨æãã¾ãã 便å©ã¡ã½ããã追å ããã ãã¨ããæ¢åã¡ã½ããã®æ©è½æ¡å¼µã¨ã㯠"small" ã¨èããããããç¥ãã¾ããããä¿å®çã«èãããã¨ã ãããããã¾ããæ©ãææ¡ããã«è¶ãããã¨ã¯ããã¾ããã * Oct. 24 2012: feature freeze å ¨æ©è½ã®æ¡å¦ã決ãã¦ãä»æ§ã詳細ã¾ã§æ±ºãã¾ãã * Feb. 24 2013: 2.0 release Ruby ã®çèª 20 å¨å¹´ã§ãã
ã¨ãããã¨ã§ãæ©è½ææ¡ç· ãåãã¾ã§ãã¨ç´ 3 ã¶æã§ãã
ä»é±ã®ãã¥ã¼ã¹: Native Client 対å¿ãããå°å ¥
Google Chrome 㧠native code ãå®è¡ããããã®ä»çµã¿ã§ãã Native Client ä¸ã§ Ruby ãå®è¡ããããã®ããããコミットããã¾ããã
ç°¡åã«è¨ãã°ãJavaScript ã®ä»£ããã« Ruby ã使ããããã«ãªãããã§ããHotRuby ã JRuby Applets ã«ä¼¼ã¦ãã¾ããããã¤ãã£ã㧠CRuby ãã®ãã®ãã¯ã©ã¤ã¢ã³ãä¸ã§åãã¨ãããéãã¾ãã*2
try ruby ã£ã½ããã¢ãNative Client ãæå¹ã«ããç¶æ
*3 ã§ä»¥ä¸ãéããputs "Hello" ãªã©ãå®è¡ãã¦ã¿ã¦ãã ããã
å®ç¨ã«ã¯ã¾ã ã¾ã 課é¡ãããããã§ããããã¾ãããã° 2.0 ã§ã¯ãµã¼ããã¯ã©ã¤ã¢ã³ãã CRuby ã§æ¸ããããã«ãªãããããã¾ãããGoogle èªèº«ã Ruby ã«ããããéã£ã¦ãã¦ããã®ãèå³æ·±ã話ã§ã *4 ãYugui ããã®é å¼µãã«æå¾ ãã¾ãããã
ä½è«
ä»é±ã¯æåã ã£ãã®ã§å
容å¤ãã§ããããä»å¾ã¯ãã£ã¨çãã¨æãã¾ãã
NaCl 対å¿ãããããããããã¦é¢ç½ãæ°æ©è½ãæ¯é±åºã¦ããã¨ã¯æããªãã®ã§ãç¹ã«è©±é¡ãç¡ãé±ã¯ãè°è«ä¸ã®æ°æ©è½ãªã©ãé©å½ã«ç´¹ä»ãããã¨æãã¾ãããã¼ã¯ã¼ãå¼æ°ã¨ããrefinement ã¨ããdtrace 対å¿ã¨ããæ¨æºæ·»ä»ã©ã¤ãã©ãªã® gem åã¨ãã
ãè±èªã§æ¸ããã¨ããããã³ãã¯æ£ããã§ããããã¼ãã«ãä¸ããã¨ç¶ããªãã®ã§ã¨ããããæ¥æ¬èªã§ãåæã«è±è¨³ãã¦ããã¦ãããã§ããã
ãã¾ã: ä»ã®ãã±ããæ®æ°
åã³ããã¿ãæ å½è ã«ãªã£ã¦ãããã±ããã®æ°ãå¤ãã»ã©ã°ãºã§ãã
1: matz (137 tickets) 2: nobu (64 tickets) 3: ko1 (56 tickets) 4: akr (30 tickets) 5: mrkn (22 tickets) 6: nahi (18 tickets) 7: MartinBosslet (17 tickets) 8: keiju (14 tickets) 9: kosaki, naruse, usa (13 tickets) 12: authorNari (11 tickets) 13: marcandre (10 tickets) 14: drbrain (9 tickets) 15: tenderlovemaking (8 tickets) 16: knu, seki (7 tickets) 18: kouji, mame, sorah (6 tickets) 21: suke (4 tickets) 22: JEG2, akira, duerst, nagai, shyouhei, takano32, tarui, yugui (3 tickets) 30: Glass_saga, shugo (2 tickets) 32: aamine, kou, metanest, nagachika, ngoto (1 ticket)
*1:å®éãéäºæãããããæ©è½ææ¡ãããã¤ã 3.0 ã«åããã¦ãã¾ãã
*2:NaCl ã®ãµã³ãããã¯ã¹å ã§åãã®ã§ããã¼ã«ã«ãã¡ã¤ã«ãçã¾ãããªã©ã®å±éºã¯ãªãã¯ãã§ããNaCl ã«èå¼±æ§ãç¡ãéãã
*3:chrome://flags ãéãã¦ãããã¤ãã£ã ã¯ã©ã¤ã¢ã³ãããæå¹ã«ãã¦åèµ·åãããã¾ãã¯ãchrome ãèµ·åããã¨ãã³ãã³ãã©ã¤ã³å¼æ°ã§ --enable-nacl ãä¸ããã
*4:å®ä½ã¯ Yugui ããã§ããã