3 ms·
I wish Ruby had the math and scientific library support of Python. Also, I've been using Jupyter lately to brush up on data structures and algorithms. It's bee
by euroclydon 10y ago
I wish Ruby had the math and scientific library support of Python.
Also, I've been using Jupyter lately to brush up on data structures and algorithms. It's been pretty sweet to write code in a web notebook and render output including digraphs beneath each block of code. Is there anything like that for Ruby?
- K0nserv 10y agoNot to my knowledge and this is definitely an area where Python is a lot better than Ruby from my experience. My comment pertains more to web development than scientific computing.
- _joel 10y agoYou can run a Ruby kernel in Jupyter - https://github.com/SciRuby/iruby https://github.com/SciRuby/iruby
- _Wintermute 10y agoYou can use other kernels in jupyter notebooks. I've never tried ruby, but you could try this: https://github.com/SciRuby/iruby https://github.com/SciRuby/iruby
- LyndsySimon 10y agoNot only does Jupyter have Ruby support, but you can go back and forth between languages in the same notebook while sharing a context.