From: Aston Date: 2010-03-09T00:56:05+09:00 Subject: [ruby-core:28561] Ruby::DL vs Ruby::FFI --0-1537298847-1268063362=:51959 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ruby.DL and FFI libraries are great for programmers like me who are not int= ernet programmers, but are more interested in scientific and number process= ing etc.=0A=0AI really like FFI, though I started with DL since at that tim= e FFI won't build on windoz. Good part of DL is that it is part of standard= libary, not supported (fully) by JRuby though. FFI on the other hand has m= atured and is available on windoz, greatest joy is same script will, in all= probability run across all implementations.=0A=0Arecently few days back I = saw some svn msgs suggesting that DL's dependency on libffi was removed, si= nce libffi won't build on windoz (again!). so my question is will DL in fut= ure be based on libffi ? why just not use FFI. Its API and idea is very goo= d and ruby like, against DL's idea of giving in C snippets to be interprete= d by DL ?=0A=0AAston=0A=0A=0A The INTERNET now has a personality. YOUR= S! See your Yahoo! Homepage. http://in.yahoo.com/ --0-1537298847-1268063362=:51959 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Ruby.DL and FFI libraries are great for programmers = like me who are not internet programmers, but are more interested in scient= ific and number processing etc.

I really like FFI, though I started = with DL since at that time FFI won't build on windoz. Good part of DL is th= at it is part of standard libary, not supported (fully) by JRuby though. FF= I on the other hand has matured and is available on windoz, greatest joy is= same script will, in all probability run across all implementations.
recently few days back I saw some svn msgs suggesting that DL's dependenc= y on libffi was removed, since libffi won't build on windoz (again!). so my= question is will DL in future be based on libffi ? why just not use FFI. I= ts API and idea is very good and ruby like, against DL's idea of giving in C snippets to be interpreted by DL ?

Aston

=0A
=0A=0A=0A=0A
=0AThe INTERNET now has a= personality. YOURS! See your Yahoo! Homepage. --0-1537298847-1268063362=:51959--