2021-05-01ãã1ã¶æéã®è¨äºä¸è¦§
Tkrzwã§ãã«ãã¬ã³ã¼ããã©ã³ã¶ã¯ã·ã§ã³ãå®è£ ãã¦ã¿ãã¨ãã話ãã·ã³ã°ã«ã¬ã³ã¼ããã©ã³ã¶ã¯ã·ã§ã³ãã¤ã¾ãåä¸ã®ã¬ã³ã¼ãã«è¤æ°ã®æä½ãã¢ãããã¯ã«è¡ãæ©è½ã¯å¾æ¥ããå®è£ ããã¦ããããããè¤æ°ã®ã¬ã³ã¼ãã§ãã§ããããã«ããã®ããã«ãã¬ã³ã¼ããã©ã³â¦
ãã¼ã¿ãã¼ã¹ã©ã¤ãã©ãªTkrzwã®æ¹è¯ãå°éã«ç¶ãã¦ããããã1.0ã«ãããããªã¨æã£ã¦ããã¨ããã ãæ¥æ¬èªã®è³æããªãã¨ãªããªãæ¥æ¬ã§ã¯ä½¿ã£ã¦ããããªãã¨ãããã¨ã§ãæ¸ãã¦ã¿ãããã¼ã¿ãã¼ã¹é¢é£ã®ã¢ã«ã´ãªãºã ã®åºç¤ãæ¤ç´¢ã¨ã³ã¸ã³ãªã©ã®äºä¾ã«ã¤ãâ¦
ååã¾ã§ã®ä¸é£ã®å®é¨ã§ããã¤ã¬ã¯ãI/Oã使ã£ã¦ãã¼ã¿ãã¼ã¹ãéç¨ããéã®æ§è½ç¹æ§ãè¦ãã¦ãããããã§æ´ãåºããã課é¡ã解決ããããããã¯æåã®å¹çã«å°éãããæ§è½è©ä¾¡ã®çµæã¨ãã¦ã¯ããã¤ã¬ã¯ãI/Oã使ã£ããã¼ã¿ãã¼ã¹ã®æ§è½ããæ¸ãè¾¼ã¿ã9.3åâ¦
dependency injectionã§ä»»æã®ãã¡ã¤ã«å®è£ ãå©ç¨ã§ããTkrzwã ãããã¤ã¬ã¯ãI/Oã®ãã¡ã¤ã«å®è£ ãå種ã®ãã¼ã¿ãã¼ã¹ã«çµã¿è¾¼ãã ã®ãååã¾ã§ã®ç©èªã§ãããTkrzw 0.9.18ããªãªã¼ã¹ããã®ã§ãã試ãããã ããããä»åã¯ãå®æããå®è£ ã®æ§è½ã測å®ãããâ¦
ãã¼ãã¦ã§ã¢ã¨ç´æ¥ã話ãããã¤ã¬ã¯ãI/Oãé ãã®ã¯ä»æ¹ãªããã¨ã ããã¢ããªã±ã¼ã·ã§ã³å±¤ã§å°ããªãã£ãã·ã¥æ©æ§ã使ãã¨å¤§åãã·ã«ãªãã¨ãã話ã
ãã¡ã¤ã«ã·ã¹ãã ã®ãã£ãã·ã¥æ©æ§ãä»ããã«ã¹ãã¬ã¼ã¸ããã¤ã¹ã«å¯¾ãã¦ç´æ¥å ¥åºåãè¡ãæ©è½ããã¤ã¬ã¯ãI/Oãªã©ã¨è¨ã£ããããããããããã¼ã¿ãã¼ã¹ã©ã¤ãã©ãªTkrzwããã使ããããã«ãããLinuxã¨Windowsã§ä½¿ããããã®åæã¨ãã¦ãã¢ãã¬ã¹ã¨ãµã¤ãºâ¦
ããã¤ã¹çã¨ããåãããããããä»ã®æ§ã ãªçç±ã§ãããæ°ã®åæ°ã«ã¢ã©ã¤ã³ã¡ã³ããããã¡ã¢ãªé åãåçã«ç¢ºä¿ããå¿ è¦ãçãããã¨ããããmallocãã¬ã¼ã ã¯ã¼ã¯ä¸ã§ãããè¡ãã®ãæ¨æºC++ã®alloc_alignedã¨ããé¢æ°ãªã®ã ããããã¯ãã¹ã¦ã®å¦çç³»ã§ãµâ¦
ãã¼ã¿ãã¼ã¹ã©ã¤ãã©ãªTkrzwã®Windows対å¿ã®å®è£ ãä¸éãå®äºãããååãC++æ¨æºã®std::fstreamã«ããããã¼ã®ãã¡ã¤ã«å ¥åºåã使ã£ã¦Windows対å¿ãã話ãããããä»åã¯ãããæ¬çªã®çé¢ç®ãªå®è£ ã«ç½®ãæãããã¡ã¢ãªãããIOã¨ä½ç½®æå®IOã®å®è£ ã¨æ§è½è©â¦
ããããè¨ã£ã¦ãã£ã¦ãªãã£ããã¼ã¿ãã¼ã¹ã©ã¤ãã©ãªTkrzwã®Windows対å¿ãå§ãããå®è£ ã¯ä½æ®µéãã«åãã¦è¡ãããã¨ããããå ¨æ©è½ãåãã¨ããã¨ããã¾ã§ã¯æ¥ããããã§ä½æ¥ã®æ¹éã¨é²æã«ã¤ãã¦ã¡ã¢ã£ã¦ãããã