ã¯ããã« Rubyã¨åãããC++ãã¯ã©ã¹ããã£ã¦ãã¾ãã Swigãã¤ããã°C++ã®ã¯ã©ã¹ããã®ã¾ã¾Rubyã®ã¯ã©ã¹ã«ãããã¨ãã§ãã¾ãã Swigã®ããã¥ã¡ã³ãã«C++ã®ç« ãããã¾ãã®ã§ã ã¾ãã¯ãã¡ã "5 SWIGã¨C++" ãèªã¿ã¾ãããã C++ã§æ¸ãããããã½ãããswigãå©ç¨ãã¦ã©ããããå ´åã ã¤ã³ã¹ãã¼ã«ããããããã¼ãã¡ã¤ã«ãããã¸ãå½¹ã«ç«ã¡ã¾ãã éãè¯ããã°ãã®ãããã¼ãã¡ã¤ã«ããã®ã¾ã¾ä½¿ãã¾ããã å¤ãã®å ´åå¤å°å¤æ´ãå¿ è¦ã¨ãªãã¾ãã ããã§ã¯ã C++ã§æ¸ãããã½ãããã©ããããéã«å¿ è¦ãªããã¤ãã®å¤æ´ã®è§£èª¬ãè¡ãã¾ãã ã¾ãã¯ãããã¼ãã¡ã¤ã«ããã®ã¾ã¾ä½¿ã£ã¦ã¿ãã ã¨ãããããããã¼ãã¡ã¤ã«ããã®ã¾ã¾ä½¿ã£ã¦ã¿ã¾ãããã ãã®ã¾ã¾ã§åé¡ãªãã³ã³ãã¤ã«ã§ãããã¤ä½¿ããããªãã¯å¹¸éã§ãã ã ããªå ´åã§ãã¨ã©ã¼ã¡ãã»ã¼ã¸ãã¨ã¦ãéè¦ãªæ å ±ã¨ãªãã¾ãã 以ä¸ã®ããã«
ã¯ã¦ãªã§ã¯ XS ã使ãå§ãã¦å¦çé度ãæ¹åããã¤ã¤ããããã§ãã ã¹ã¯ãªããè¨èªã¸ã®ãã¤ã³ãã£ã³ã°ã¯ããã¯ãããã«ã¦ã§ã¢ã«ã¯å¿ é ã®æ©è½ã ã¨æãã¾ãããããããæè¿æ°ã«ãªã£ã¦ããã®ã¯ãå°ãªãã¨ãæ¥æ¬ã§ã¯ XS ç´æ¸ãã®ãããªã¹ã¯ãªããè¨èªåºæã®æ©è½ãç´æ¥ä½¿ã£ã¦ãã¤ã³ãã£ã³ã°ãä½æãã¦ããéçºè ãå§åçã«å¤ãã¨ãããã¨ã§ãã æ£ç´ãªã¨ããSWIG ããã£ã¨ä½¿ã£ã¦ã»ããã§ãã ç§ãæ°ã«å ¥ã£ã¦ããç¹ã¯ä»¥ä¸ã§ãã 1. SWIG ã¯ã¹ã¯ãªããè¨èªåºæã®ãã¤ã³ãã£ã³ã°ä½æããããã¦ãã¦ã ã¨ã¬ã¬ã³ãã«ã©ãããã¦ããã¾ãããã¨ãã°ãä¾å¤å¦çãªã©ãããä¾ã§ããã SWIGãã®ã¤ã³ã¿ãã§ã¤ã¹ä¸ã§ä¾å¤å¦çãæ¸ãã¦ããã°ã åè¨èªã®ä¾å¤å¦çã®ã·ã³ã¿ãã¯ã¹ã«é©åã«å¤æãã¦ããã¾ãã 2. ãã³ãã£ã³ã°ã¬ãã«ã§ OOP ã®æ©è½ãç¡ããããªããã£ããªé¢æ°å¼ã³åºãããã§ããªã ã¹ã¯ãªããè¨èª(perl,python,
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}