brw has quit [Read error: Connection reset by peer]
brw has joined #ruby
<ox1eef_>
johnjaye: Fiddle, and FFI let you call C functions available in a shared library from Ruby. I think Fiddle is preferred these days, at least it would be my first choice, given that it is stdlib and a lot of effort has gone into recently.
<johnjaye>
ok. i'm not really familiar with how ffis work
<ox1eef_>
A big plus is if you use, say fiddle, then you can call C from a rubygem but never have to actually compile C code when the gem is being installed. A downside I always faced with FFIs in Ruby is that magic constants aren't readily available, so you have to copy+paste them into the ruby code and I think there's always a chance they could become out of sync.
<ox1eef_>
Or worse, be different on different platforms.
<ox1eef_>
Anyway, if you have a background in C, Fiddle is worth a look.
<johnjaye>
leftylink: is the doc not what help command displays then?
<johnjaye>
help("Array.all?") shows just the signature, no text
<leftylink>
I seem to be unfamiliar with this help command, so I have no further comments here
<ox1eef_>
Not the case for me. I see a wall of text for Array.all?, both with ri Array.all? and help("Array.all?").
<leftylink>
I just get "Nothing known about Array", so given that you can probably tell why I don't consider it a reliable source of information
<ox1eef_>
That means you don't have the ri documentation installed.
u0_a115 has quit [Ping timeout: 255 seconds]
u0_a115 has joined #ruby
u0_a115 has quit [Ping timeout: 246 seconds]
otisolsen70 has quit [Quit: Leaving]
mbarbar has quit [Ping timeout: 250 seconds]
mbarbar has joined #ruby
taupiqueur_shiny has joined #ruby
redruM has joined #ruby
_ht has quit [Quit: _ht]
taupiqueur_shiny has quit [Remote host closed the connection]
filipiz has quit [Ping timeout: 248 seconds]
caedmon has quit [Ping timeout: 244 seconds]
Guest66 has quit [Quit: Client closed]
brw has quit [Read error: Connection reset by peer]
Perflosopher0 has joined #ruby
Perflosopher has quit [Ping timeout: 246 seconds]
Perflosopher0 is now known as Perflosopher
brw has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 246 seconds]
eddof13 has joined #ruby
Linux_Kerio has quit [Ping timeout: 245 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
Vonter has quit [Ping timeout: 246 seconds]
finsternis has joined #ruby
c10l has joined #ruby
Vonter has joined #ruby
ruby[bot] has quit [Remote host closed the connection]