Ruby FFIã«ã¤ã㦠ããæè¿libclangã®Ruby Bindingã®ffi-clangã«æ©è½ã追å ãã¦ããã®ã§ããããã®éç¨ã§FFI(Foreign function interface)ã¨ãããã®ãç¥ãã¾ãããFFIã¨ã¯ããããã«å¤è¨èªãå¼ã³åºãããã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ãã¨ã®ããã§ãRubyã«ãããFFIã¯libffiãå©ç¨ãã¦ããããã§ãã Rubyã§ã¯(Cè¨èªã§)ã¨ã¯ã¹ãã³ã·ã§ã³ãæ¸ãã°å
±æã©ã¤ãã©ãªãå©ç¨ãããããªã©ã¤ãã©ãª(Gem)ãä½ããã¨ãã§ãã¾ãããFFIã使ãã°Rubyã§æ¸ããã¨ãã§ãã¾ãããã¼ã¿ãã«ãªå®è£
ã«ãªãã¾ããæ¬å®¶æ°ã: ã³ã³ãã¤ã«ãå¿
è¦ç¡ã ãã«ããã©ãããã©ã¼ã (å¤æ´ç¡ãã§JRubyãRubiniousãªã©ã§åä½ãã) è¨è¿°ãRubyãªã®ã§èªã¿æ¸ããããã Rubyã®å®è£
ã®å¤æ´ã«å½±é¿ãããªã å®éFFIã使ã£ã¦ã¿ãã¨ãåç´ãªãã®ãªãä¸ç¬ã§ãã¤ã³ãã£ã³
{{#tags}}- {{label}}
{{/tags}}