Skip to content

Comment on Creating beautiful charts with JRuby and JFreeChart

Comments

article complains about a ruby gem(Charty) calling a python library(matplotlib) yet author is running Ruby in Java so they can access some Java library!

I don't even like Java/JVM, and I still think that is more reasonable than running a gem that embeds Python.

The Ruby code is already running on the JVM so utilizing the library isn’t calling out to another runtime to execute like you normally would have to in order to do something like this.

The whole point of the JVM is that languages don’t need to be limited to the low-level types C FFI forces you into.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.