These are chat archives for keplersj/Rubycraft

25th
May 2014
Vilim Lendvaj
@viliml
May 25 2014 14:04
I see minecraft LOVES JRuby, doesn't it? XD
Kepler Sticka-Jones
@keplersj
May 25 2014 17:37
It's slightly harder to do JRuby because all the actual code is interpreted and executed at Minecraft runtime.
As opposed to almost any other JVM language which is compiled directly, so missing fields and methods are easily noticed.
Vilim Lendvaj
@viliml
May 25 2014 18:02
Yeah, from what I understand, JRuby creates a java class with the description as specified in the ruby source, but the logic itself is in an internal script?
Why complicate that much? Can't it interpret the ruby code directly?
Kepler Sticka-Jones
@keplersj
May 25 2014 19:07
So it generates Java source classes that contain all the classes and functions that the Ruby files have but the actually code is like a string that gets executed by JRuby itself.
Here is the latest Java source version of Rubycraft https://gist.github.com/k2b6s9j/f5ec79b40a894df964e4