C extension vs Java extension

Hi, I’m try to figure out a way to include TA-LIB in my jruby project.
I know there’s a ruby-ta-lib gem extension and ta-lib for java. Will it
work with the common gem (extended from C) or I need use the java
version?

What’s the best?

On 03/24/2011 04:00 PM, Jonatas P. wrote:

Hi, I’m try to figure out a way to include TA-LIB in my jruby project.
I know there’s a ruby-ta-lib gem extension and ta-lib for java. Will it
work with the common gem (extended from C) or I need use the java
version?

What’s the best?

Using Java libraries is generally better, as they will be faster than
any C extension or FFI. You can try the C ext rubygem, and see what you
get.

-Tim

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs