rfc.md RFC 2033: experimental coroutines Start Date: 2017-06-15 RFC: https://github.com/rust-lang/rfcs/blob/master/text/2033-experimental-coroutines.md PR: rust-lang/rfcs#2033 Issue: rust-lang/rust#43122 é¢é£: RFC 2394 è¦ç´ ã³ã«ã¼ãã³ãRustã«å°å ¥ããããã®å®é¨çãªRFC æ£å¼ãªãã®ã¯ã¾ãå¥ã®PR㧠ã³ã«ã¼ãã³ã«å¯¾ããã¢ã¤ãã£ã¢ã®å ±æã¨nightlyã§è©¦ããããã«ããã®ãç®ç åæ© Rustã®2017å¹´ã®ãã¼ããããã®ä¸ã§ã¯é å¼·ã§ã¹ã±ã¼ã©ãã«ãªãµã¼ããæ¸ããã¹ãã¨ããé ç®ããã£ã: ãã æè¿ã®èª¿æ»ã§ã¯ãéåæI/Oå¦ç(e.g., futures, tokio)ã®æ¸ãé£ããã
2018å¹´7æ3æ¥ãD-Cubeã主å¬ããã¤ãã³ããRunning Rust in Productionããéå¬ããã¾ãããè¿å¹´å¾ã ã«æ³¨ç®ãéãã¤ã¤ããããã°ã©ãã³ã°è¨èªRustããå®éã«æ¥åã§ä½¿ã£ã¦ããã¨ã³ã¸ãã¢ãä¸å ã«ä¼ãã¦ãèªãã®ç¥è¦ã¨åãçµã¿ãå ±æããæ¬ã¤ãã³ããåã®éå¬ã¨ãªãä»åã¯ã6åã®ã¨ã³ã¸ãã¢ãRustã«ã¾ã¤ããç¥èã¨çµé¨ãèªãã¾ããããã¬ã¼ã³ãã¼ã·ã§ã³ãRustã¨3種ã®DSLãã«ç»å ´ããã®ã¯Îºeenæ°ã Rustã¨3種ã®DSL κeenæ°ï¼ä»¥ä¸ãκeenï¼ï¼ä»æ¥çºè¡¨ããã«ããã£ã¦äºåã«ã¢ã³ã±ã¼ããåã£ã¦ãã¾ããããèãããã®ã¯ãéçºãããã³ã°éã使ã£ã¦ã便å©ã©ã¤ãã©ãªéããã¼ã ã®éçºç°å¢ã®æ´åï¼ãã¨ããã®ãæãã¦åã£ããã§ãããã©ãããã¶ãããã ãªã¨æã£ã¦ããããå ¨é¨ç ´æ£ãã¦çºè¡¨ãããã¨æãã¾ãã ï¼ä¼å ´ç¬ï¼ ãRustã¨3種ã®DSLãã«ã¤ãã¦çºè¡¨ãã¾ããç§ã¯Idein
Rustã¯ãå¦ç¿ã³ã¹ããé«ãï¼ããé¢æ°åããã°ã©ãã³ã°è¨èªï¼ã ã¨æã£ã¦ããç§ããå®éã«Rustã«è§¦ãã¦ã¿ã¦å¾ãããç¥è¦ãã¾ã¨ãã¾ããã ããã°ã©ãã³ã°è¨èªã®å¤ãã®èª²é¡ã解決ãã¦ãããè¨èª Rustã¯ãå®å ¨æ§ããé度ãã並åæ§ããèæ ®ãã¦è¨è¨ããã¦ãã¾ãã è¨èªã»ãã³ãã£ã¯ã¹ãå¼·ãå®ç¾©ãï¼Ownershipãlifetime å¾è¿°ï¼ããããã¯ã¼ã¯ã³ãã¯ã·ã§ã³ãªã©ã®ãªã½ã¼ã¹ç®¡çå ¨è¬ã«é¢ãããã°ããã³ã³ãã¤ã«æã«çºè¦ãã¦ããããã¨ã§å®ç¾ãã¦ããã¨ããã¾ãã æåã¯ã³ã³ãã¤ã«ãå³ããã¦ãæ¸ããã³ã¼ãã¯ãã£ã¦ãã¯ã...ã ã¨ãé¥ãã»ã©ã«æé»çãªå°è±¡ãæãã¾ããã³ã³ãã¤ã«ã®å³æ ¼ãã¯ã人éãééããªãããã«ããããã«ãéçã«è§£æã§ããæ å ±ããªãã¹ãå¤ãä¸ããæ©æ¢°çã«æ¤è¨¼ããããã ã¨èãã¾ãã ã²ã¨è¨ã§ã¾ã¨ããã¨ãã³ã³ãã¤ã«ã¸ã®æ¼ãä»ããã§ãã å®å ¨æ§ã«éãããããªãããzero cost abstr
ã¨ããåå¼·ä¼ç¨ã«LTãã¿ãä½ã£ã¦ããã®ã§ãããçºè¡¨ã§ããªããªã£ãã®ã§è ãåã«ããã°ã«æ¸ãã¦ããã¾ãã ãåã¯ä½ãï¼ï½ï½ è¨äºã®ã¿ã¤ãã«ã«ã¤ã㦠ãåã¯ä½ãè¨ã£ã¦ãããã ãªã®ã§ãããå ãã¿ã¯ä»¥ä¸ã®ãã¤ã¼ãã§ãã ããããTCPã§ããåããããããã³ã«ãèªã¿åããããmainã£ã¦ååã§åããããã³ã«åããã¤ããªãªãstaticã«ãã«ãããã°å¥ã®è¨èªã§ããã¤ãã£ãã«åãããããããï¼https://t.co/dWjs8YiuFeâ Masashi Terui (@marcy_terui) 2018å¹´1æ17æ¥ LTã®ãã¿ã«ãªãããã ã£ãã®ã§ãã£ã¦ã¿ãããã§ãã aws-lambda-goã«ã¤ã㦠ããããã¾ãaws-lambda-goã¯ä¸ä½ã©ãããä»çµã¿ã§åãã¦ãããã ããã¨ãã½ã¼ã¹ãèªãã§ã¿ã¾ããã ã§ãentry.goã¨function.goãããã§ã ãããåããã¾ããããnet/rpcã
Rust(http://www.rust-lang.org/)ã¨ããMozillaãéçºãã¦ããè¨èªã«èå³ãæã£ã¦ããããã«ãã³ã¢ãçãã次ä¸ä»£ã®ãã©ã¦ã¶ã¨ã³ã¸ã³ã§ããServoã®éçºã«ä½¿ããã¦ããã å®è¡é度éè¦ã®ãéçåä»ãã®ãã«ããã©ãã¤ã è¨èªã Actorã¢ãã«ã«åºã¥ãã並åè¨ç®ã Haskellã®åã¯ã©ã¹ã®ãããªãªã¼ãã³ãªtraitï¼Javaã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ãããªãã®ã ããåãå®ç¾©ããå¾ã«traitãå¤ãã足ããï¼ã«åºã¥ãç°¡æ½ãªOOPã ãã¤ããªï¼æ§é ä½ã®ã¡ã¢ãªé ç½®ãé¢æ°ã®å¼ã³åºãï¼ãCäºæãOOPãæ§é ä½ã®ãã¼ã¿å®ç¾©ã¨ã¡ã½ãããå®ç¾©ãåé¢ããå½¢ã«ãªã£ã¦ããã å®å ¨æ§ãä¿ã¡ã¤ã¤ãããã©ã¼ãã³ã¹ãè½ã¨ããªããã¤ã³ã¿æä½ããã¤ã³ã¿ã«&@~ã¨ç°ãªã修飾åãã¤ãããã¨ã§æ±ããå¤ãããã°ãã¼ãã«ãªGCã«é ¼ããéçã«ãã¼ããªãã¸ã§ã¯ãã®å¯¿å½ãã§ãã¯ãã§ããï¼ããã®ã¨ããã¯ã¡ãã£ã¨é£ããã®
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}