864 posts
Location
Sometime.
Posted 11 September 2012 - 09:58 PM
Its more of a suggestion..
IK you can code API's and such.
Since its LuaJ I know somethings might not be compatible..
If there are any, or if its possible, could you post below?
301 posts
Location
Whenever, Wherever!
Posted 12 September 2012 - 03:36 AM
????????????? I have no idea what you are saying. Do you mean adding more nativer libs? I recall hearing cloudy saying that they were moving to native lua. (Yes, no more luaJ if this happens)
474 posts
Posted 12 September 2012 - 04:20 AM
????????????? I have no idea what you are saying. Do you mean adding more nativer libs? I recall hearing cloudy saying that they were moving to native lua. (Yes, no more luaJ if this happens)
The regular Lua is in C, not Java, so if they did that they would have to find another thing like LuaJ or port it themselves. (which would take a while)
301 posts
Location
Whenever, Wherever!
Posted 12 September 2012 - 05:51 AM
*facepalm* Java is capable of running programs(like a lua binary…)
515 posts
Location
Australia
Posted 12 September 2012 - 02:59 PM
Native Lua is in C. Whereas LuaJ is in Java. Java cannot Run C programs. It has to be ported.
496 posts
Location
New Zealand
Posted 17 September 2012 - 10:48 AM
Native Lua is in C. Whereas LuaJ is in Java. Java cannot Run C programs. It has to be ported.
Java can use native libraries as long as you have a JNI interop,
If you couldn't use native libraries in Java, Minecraft wouldn't work…
515 posts
Location
Australia
Posted 18 September 2012 - 03:46 PM
Native Lua is in C. Whereas LuaJ is in Java. Java cannot Run C programs. It has to be ported.
Java can use native libraries as long as you have a JNI interop,
If you couldn't use native libraries in Java, Minecraft wouldn't work…
Whoops. I was thinking about having the entirety of Lua being interpertated within Java like LuaJ. I didn't think about java just executing The native Lua binary.